[i2c] [PATCH 19 3/5] Clean up error returns
Jon Smirl
jonsmirl at gmail.com
Mon Jan 21 02:39:43 EST 2008
Here' s a version with the compares to zero switched to NO_IRQ. If I
understand how NO_IRQ works it is the correct change. My understanding
is that under ppc IRQ zero was legal and NO_IRQ was -1. But then the
whole kernel switched to NO_IRQ = zero. Powerpc updated to NO_IRQ=0
and used virtual IRQs to move a physical IRQ 0 to another IRQ number.
ppc was not changed. This driver does not appear to have been updated
to track this global change since it didn't initially use the NO_IRQ
define everywhere.
--
Jon Smirl
jonsmirl at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jds-fix-err-returns
Type: application/octet-stream
Size: 3561 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080120/225a94b3/attachment.obj>
More information about the Linuxppc-dev
mailing list