aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2022-03-09 18:05:31 +0100
committerHans de Goede <[email protected]>2022-03-09 18:17:57 +0100
commit6229ce9c36384c7adce09f06a3a1897faa5f2c1a (patch)
tree0b081c0d3de9aab437119be25eb693a6647cb3c5 /drivers/platform/x86/intel/pmt/class.c
parentd4b938abafc83c1e79694c5ff8d749cd23243a2b (diff)
platform/x86: thinkpad_acpi: Fix compiler warning about uninitialized err variable
err is always set because if we get here then dytc_profile_available is always one of DYTC_FUNCMODE_MMC or DYTC_FUNCMODE_PSC, but the compiler cannot now that, so initialize err to 0 to avoid a compiler warning about err being uninitialized. Reported-by: kernel test robot <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions