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 ?