[Yaffs] problem about read data fail

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: 肖平
Date:  
To: yaffs
Subject: [Yaffs] problem about read data fail
Hi Charles,
    Now we use yaffs2's’ direct interface to access Nand Flash.If we read the file in Nand Flash ,we called the funciton yaffs_read first,and then  yaffsfs_do_read->yaffs_file_rd->yaffs_rd_data_obj and last access Nand Flash,If Nand Flash work error and return fail to yaffs_rd_data_obj,why yaffs2 not check the return value ?