aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py
diff options
context:
space:
mode:
authorKurt Borja <[email protected]>2025-04-16 16:50:23 +0000
committerIlpo Järvinen <[email protected]>2025-04-17 11:16:16 +0000
commit4a8e04e2bdcb98d513e97b039899bda03b07bcf2 (patch)
treec4aa4c343993df6eb6b03d9469cec9521452e58b /tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py
parentplatform/x86/intel-uncore-freq: Fix missing uncore sysfs during CPU hotplug (diff)
downloadkernel-4a8e04e2bdcb98d513e97b039899bda03b07bcf2.tar.gz
kernel-4a8e04e2bdcb98d513e97b039899bda03b07bcf2.zip
platform/x86: alienware-wmi-wmax: Fix uninitialized variable due to bad error handling
wmax_thermal_information() may also return -ENOMSG, which would leave `id` uninitialized in thermal_profile_probe. Reorder and modify logic to catch all errors. Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Fixes: 27e9e6339896 ("platform/x86: alienware-wmi: Refactor thermal control methods") Signed-off-by: Kurt Borja <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py')
0 files changed, 0 insertions, 0 deletions