[Yaffs] obvious fault or deliberate

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Johann Kok \(JP\)
Date:  
To: yaffs
Subject: [Yaffs] obvious fault or deliberate

This is a too obvious fault so I'm wondering if its deliberate:

The structure 'yaffs_ExtendedTags' has 16 unsigned fields (64bytes)
and 2 enum fields (eccResult & extraObjectType). On a 32bit processor
this comes down to a total of 72 bytes while all the tag/spare bytes
must fit into a 64byte space.

This will be easy to fix since some of the fields only needs a char,
but I'm just curious to know why this structure was defined to be
larger than 64B when the standard for NAND flash spare area is 64
bytes?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~