diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2016-06-18 00:54:44 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-06-18 12:55:20 -0700 |
commit | 053ea640818812313892ec4f370f5cfac42fd355 (patch) | |
tree | 75c74adedf6d7f6725a3ef9466430e3f035443e4 /tools/lib/api/debug.c | |
parent | 5edb56491d4812c42175980759da53388e5d86f5 (diff) |
hwmon: (dell-smm) Fail in ioctl I8K_BIOS_VERSION when bios version is not a number
ABI of I8K_BIOS_VERSION ioctl can return only number. But new BIOS versions
contain also other characters, which does not fit into that ABI. So in case
of non digit values return -EINVAL.
Reported-by: Mario Limonciello <Mario_Limonciello@dell.com>
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions