#5870 NORM Never A: Cleanup error handling in OFW NAND driver

Zarro Boogs per Child bugtracker at laptop.org
Sat Jan 5 17:41:00 EST 2008


#5870: Cleanup error handling in OFW NAND driver
---------------------------------+------------------------------------------
 Reporter:  wmb at firmworks.com    |       Owner:  wmb at firmworks.com
     Type:  defect               |      Status:  new              
 Priority:  normal               |   Milestone:  Never Assigned   
Component:  ofw - open firmware  |     Version:                   
 Keywords:                       |    Verified:  0                
 Blocking:                       |   Blockedby:                   
---------------------------------+------------------------------------------
 There are a couple of cases where the OFW NAND FLASH driver doesn't handle
 errors as cleanly as it could.

 1) It aborts if there is a read failure on the primary bad block table,
 whereas it should instead use the secondary copy.

 2) The read-next-block method (which is used by verify-nand and crc-nand)
 aborts if you try to read past the end of the device.  It should instead
 return an error code and let the caller handle the error.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5870>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list