diff options
author | Darrick J. Wong <[email protected]> | 2008-11-12 13:26:58 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-11-12 17:17:17 -0800 |
commit | 862343c4ea2ece307f25db1812637cff142d3263 (patch) | |
tree | 2a15fc50b2ff1b9542c6af34b2a864c678080344 /net/lapb/lapb_iface.c | |
parent | 05a9bd46e49a9cbb09a0c61c901642a9911bf56e (diff) |
adt7473: check inputs from sysfs writes
Implement correct range checking for adt7470 to prevent userland from
writing impossible values into the chip, and cap out-of-range values per
standard hwmon conventions.
Implement correct rounding of input values per standard hwmon conventions.
Signed-off-by: Darrick J. Wong <[email protected]>
Cc: Jean Delvare <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions