diff options
author | 2015-01-12 14:31:59 +0100 | |
---|---|---|
committer | 2015-01-25 09:17:58 -0800 | |
commit | 83d514d76278e85cc74c472dd51687c8eb4faff0 (patch) | |
tree | 8aebe520d7fce23f0d98caa484e72f93479dda92 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i8k: Register only temperature sensors which have labels (diff) | |
download | linux-dev-83d514d76278e85cc74c472dd51687c8eb4faff0.tar.xz linux-dev-83d514d76278e85cc74c472dd51687c8eb4faff0.zip |
i8k: Return -ENODATA for invalid temperature
Guenter Roeck suggested to return -ENODATA instead -ERANGE or -EINVAL when BIOS
reports invalid temperature value.
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions