summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKurt Borja <kuurtb@gmail.com>2025-04-25 18:45:07 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-04-30 14:05:58 +0300
commit4b4da10b1f7eda3c698b924ce2051d3e56e652fe (patch)
tree9c98e97260011ed9a617941ed0b6fa26c4fb7bb5 /tools/perf/scripts/python/exported-sql-viewer.py
parent1fe9596a70d40b017f698db42621ec96da3a0cac (diff)
downloadlinux-4b4da10b1f7eda3c698b924ce2051d3e56e652fe.tar.xz
platform/x86: alienware-wmi-wmax: Fix awcc_hwmon_fans_init() label logic
To avoid passing an uninitialized `temp_id` to awcc_get_fan_label(), pass the `fan_temps` bitmap instead, to work only on set bits. Additionally, awcc_get_fan_label() leaves `dev` unused, so remove it from it's signature and it does not fail, so remove error handling. Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/r/202504250521.HEkFK1Jy-lkp@intel.com/ Fixes: d69990783495 ("platform/x86: alienware-wmi-wmax: Add HWMON support") Signed-off-by: Kurt Borja <kuurtb@gmail.com> Link: https://lore.kernel.org/r/20250425-temp-id-fix-v1-2-372d71f732bf@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions