diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2015-01-12 16:31:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 20:17:58 +0300 |
commit | 83d514d76278e85cc74c472dd51687c8eb4faff0 (patch) | |
tree | 8aebe520d7fce23f0d98caa484e72f93479dda92 /drivers/char/virtio_console.c | |
parent | 672af223305791c3a814ec8c4fb841dc75277f48 (diff) | |
download | linux-83d514d76278e85cc74c472dd51687c8eb4faff0.tar.xz |
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 'drivers/char/virtio_console.c')
0 files changed, 0 insertions, 0 deletions