aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2022-02-15 20:11:09 +0100
committerGuenter Roeck <linux@roeck-us.net>2022-02-27 17:03:19 -0800
commit4d9983dee5d4839008f7d1a75e866bccaa5877e8 (patch)
treee0cb9774bae59d8b2e9c31a6d1fbadfe9aab68c2 /tools/perf/scripts/python/exported-sql-viewer.py
parentec3db1ecf63e02265b4e93ddb1ba5cc6858c3972 (diff)
hwmon: (dell-smm) Make fan/temp sensor number a u8
Right now, we only use bits 0 to 7 of the fan/temp sensor number by doing number & 0xff. Passing the value as a u8 makes this step unnecessary. Also add checks to the ioctl handler since users might get confused when passing 0x00000101 does the same as passing 0x00000001. Tested on a Dell Inspiron 3505. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Reviewed-by: Pali Rohár <pali@kernel.org> Link: https://lore.kernel.org/r/20220215191113.16640-4-W_Armin@gmx.de Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions