diff options
author | Mark Pearson <[email protected]> | 2023-06-06 11:18:04 -0400 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-06-13 12:25:38 +0200 |
commit | f999e23ce66c1555d7b653fba171a88ecee53704 (patch) | |
tree | 1c7e66259818fbbe5d31dcfacd18da6090d1c0ef /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 2515e54267c98dc91a6273765b4bbf560c52b770 (diff) |
platform/x86: thinkpad_acpi: Fix lkp-tests warnings for platform profiles
Fix issues identified in dytc_profile_refresh identified by lkp-tests.
drivers/platform/x86/thinkpad_acpi.c:10538
dytc_profile_refresh() error: uninitialized symbol 'funcmode'.
drivers/platform/x86/thinkpad_acpi.c:10531
dytc_profile_refresh() error: uninitialized symbol 'output'.
drivers/platform/x86/thinkpad_acpi.c:10537
dytc_profile_refresh() error: uninitialized symbol 'output'.
These issues should not lead to real problems in the field as the refresh
function should only be called if MMC or PSC mode enabled. But good to fix.
Thanks to Dan Carpenter and the lkp-tests project for flagging these.
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Fixes: 1bc5d819f0b9 ("platform/x86: thinkpad_acpi: Fix profile modes on Intel platforms")
Signed-off-by: Mark Pearson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions