linux-stable/drivers/platform
Jiapeng Chong 9bc79ebd90 platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
[ Upstream commit 0284d4d1be ]

Eliminate the follow smatch warnings:

drivers/platform/x86/samsung-laptop.c:1124 kbd_led_set() warn: unsigned
'value' is never less than zero.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220322061830.105579-1-jiapeng.chong@linux.alibaba.com
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>
2022-04-27 13:15:30 +02:00
..
chrome platform/chrome: cros_ec_proto: Send command again when timeout occurs 2021-09-22 11:45:32 +02:00
goldfish
mips MIPS: Loongson: Fix return value of loongson_hwmon_init 2020-01-27 14:46:51 +01:00
olpc
x86 platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative 2022-04-27 13:15:30 +02:00
Kconfig
Makefile