Messages in this thread | | | Date | Wed, 26 Jan 2005 12:31:30 -0500 (EST) | From | Shawn Starr <> | Subject | Re: [PATCH 2.6.11-rc2] I2C: lm80 driver improvement (From Aurelien) - Resubmit #2 |
| |
Here is the corrected fix, yeah that didn't make sense. 3AM isn't a good time to send patches I guess :-)
--- Greg KH <greg@kroah.com> wrote: > On Wed, Jan 26, 2005 at 02:57:35AM -0500, Shawn > Starr wrote: > > static inline unsigned char FAN_TO_REG(unsigned > rpm, unsigned div) > > { > > - if (rpm == 0) > > + if (rpm <= 0) > > As was pointed out, this doesn't make any sense. > > Care to redo the patch? > > thanks, > > greg k-h > [unhandled content-type:application/octet-stream] | |