[flashrom] [PATCH] ft2232_spi: Improve error handling, remove exit() calls

Uwe Hermann uwe at hermann-uwe.de
Thu Jul 21 00:37:39 CEST 2011


See patch.

This is just a first step, there is certainly room for further improving
the error handling (error #defines such as FL_ERR_MALLOC, consistent and
documented return codes, and more).


Uwe.
-- 
http://hermann-uwe.de     | http://sigrok.org
http://randomprojects.org | http://unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom_ftdi_error_handling.patch
Type: text/x-diff
Size: 3585 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20110721/69cc0777/attachment.bin>


More information about the flashrom mailing list