diff options
author | xingtong.wu <xingtong.wu@siemens.com> | 2023-08-02 19:35:15 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-08-10 10:42:11 +0200 |
commit | b01c1e022f7f0c327ecc7544dc44d5f80a2d2bd9 (patch) | |
tree | ff196a308a1c6d6153eeb240412adb6c0605d88d /drivers/platform/mips | |
parent | platform/x86/siemens: simatic-ipc-batt: fix wrong pointer pass to PTR_ERR() (diff) | |
download | linux-b01c1e022f7f0c327ecc7544dc44d5f80a2d2bd9.tar.xz linux-b01c1e022f7f0c327ecc7544dc44d5f80a2d2bd9.zip |
platform/x86/siemens: simatic-ipc: fix logical error for BX-59A
The variable "ledmode" is missing from if statement that leads to
a logical error. Add the missing variable to the if condition.
Fixes: b8af77951941 ("platform/x86/siemens: simatic-ipc: add new models BX-56A/BX-59A")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202307312322.Aa8upHWK-lkp@intel.com/
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: xingtong.wu <xingtong.wu@siemens.com>
Link: https://lore.kernel.org/r/20430802173515.2363-2-xingtong_wu@163.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/mips')
0 files changed, 0 insertions, 0 deletions