PATCH: f71882fg: fix fan_to/from_reg prototypes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 16 Dec 2008 17:18:24 +0100, Hans de Goede wrote:
> Hi Jean,
> 
> The RPM after conversion from / before conversion to a register value can be
> much more then 65535 (up to 1500000), so putting this into an u16 can cause
> overflows. This changes the functions to use an int to store / get RPM instead.
> 
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

Applied, thanks.

-- 
Jean Delvare




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux