diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-01-07 16:37:31 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-01-07 16:37:31 +0100 |
commit | 2f650631b3710622666367474b5475ff81ba486e (patch) | |
tree | ea98ba22d898179d8c8e75ea3344bbdf9fc75022 /Documentation/hwmon | |
parent | 28ba858798d5c70513cd8b9742841fd1bd49a074 (diff) | |
download | op-kernel-dev-2f650631b3710622666367474b5475ff81ba486e.zip op-kernel-dev-2f650631b3710622666367474b5475ff81ba486e.tar.gz |
hwmon: (f71882fg) Fix fan_to/from_reg prototypes
The RPM after conversion from / before conversion to a register value can be
much more than 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@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions