diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-01-09 17:21:08 +0000 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2012-01-09 17:21:08 +0000 |
commit | 19fd8481b7f7f34b6aa4b60b55d675a32a73145b (patch) | |
tree | c8ae41f9c6be42a28ac2fc43f9859977456c44e5 /lib | |
parent | 2c145550b58fe59cb7bef7a10acf234d3c865ecd (diff) | |
download | lm-sensors-git-19fd8481b7f7f34b6aa4b60b55d675a32a73145b.tar.gz |
sensors: Use defines for array sizes
Use defines for array sizes. For alarm attributes, take into account that both
the generic alarm flag as well as individual alarm attributes may be provided
by a driver (even though that should not be the case).
Remove overflow checks from get_sensor_limit_data(), as overflows should
no longer happen.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6006 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions