diff options
author | Mark Pearson <mpearson-lenovo@squebb.ca> | 2023-06-06 11:18:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-19 16:21:37 +0200 |
commit | 4e06e8b1f9139d3b14ae2e30428f0abcfd7f2be5 (patch) | |
tree | 8d2722457d8961ff309354f2b3f0c174385a7088 /tools/perf/util/parse-events.l | |
parent | 4309bd9e984a3a9f38b6354def5fc332e01ccb07 (diff) | |
download | linux-stable-4e06e8b1f9139d3b14ae2e30428f0abcfd7f2be5.tar.gz linux-stable-4e06e8b1f9139d3b14ae2e30428f0abcfd7f2be5.tar.bz2 linux-stable-4e06e8b1f9139d3b14ae2e30428f0abcfd7f2be5.zip |
platform/x86: thinkpad_acpi: Fix lkp-tests warnings for platform profiles
[ Upstream commit f999e23ce66c1555d7b653fba171a88ecee53704 ]
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 <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Closes: https://lore.kernel.org/r/202306011202.1hbgLRD4-lkp@intel.com/
Fixes: 1bc5d819f0b9 ("platform/x86: thinkpad_acpi: Fix profile modes on Intel platforms")
Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20230606151804.8819-1-mpearson-lenovo@squebb.ca
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/util/parse-events.l')
0 files changed, 0 insertions, 0 deletions