OrangePi_CM5/drivers/platform/x86
Jiapeng Chong 490815f0b5 platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
[ Upstream commit 0284d4d1be753f648f28b77bdfbe6a959212af5c ]

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:53:53 +02:00
..
intel_speed_select_if platform/x86: ISST: Fix possible circular locking dependency detected 2022-02-23 12:00:58 +01:00
Kconfig platform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when using s2idle 2021-05-26 12:06:49 +02:00
Makefile platform/x86: Add new intel_atomisp2_led driver 2020-07-09 22:47:27 +03:00
acer-wireless.c
…
acer-wmi.c platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016 2021-03-11 14:17:24 +01:00
acerhdf.c - Add support to enable/disable the thermal zones resulting on core code and 2020-08-06 18:10:55 -07:00
alienware-wmi.c
…
amilo-rfkill.c
…
apple-gmux.c platform/x86: apple-gmux: use resource_size() with res 2022-01-05 12:40:29 +01:00
asus-laptop.c
…
asus-nb-wmi.c platform/x86: asus-nb-wmi: Revert "add support for ASUS ROG Zephyrus G14 and G15" 2021-07-14 16:56:00 +02:00
asus-wireless.c
…
asus-wmi.c platform/x86: asus-wmi: Fix SW_TABLET_MODE always reporting 1 on many different models 2020-10-06 09:48:05 +02:00
asus-wmi.h platform/x86: asus-wmi: Fix SW_TABLET_MODE always reporting 1 on many different models 2020-10-06 09:48:05 +02:00
classmate-laptop.c
…
compal-laptop.c
…
dcdbas.c platform/x86: dcdbas: Check SMBIOS for protected buffer address 2020-06-01 12:27:25 +03:00
dcdbas.h
…
dell-laptop.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dell-rbtn.c
…
dell-rbtn.h
…
dell-smbios-base.c platform/x86: dell-smbios-base: Fix error return code in dell_smbios_init 2020-12-30 11:53:28 +01:00
dell-smbios-smm.c
…
dell-smbios-wmi.c platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call 2021-09-18 13:40:15 +02:00
dell-smbios.h
…
dell-smo8800.c
…
dell-wmi-aio.c
…
dell-wmi-descriptor.c
…
dell-wmi-descriptor.h
…
dell-wmi-led.c
…
dell-wmi.c platform/x86: dell-wmi: add new dmi mapping for keycode 0xffff 2020-07-09 22:47:27 +03:00
dell_rbu.c
…
eeepc-laptop.c
…
eeepc-wmi.c
…
fujitsu-laptop.c
…
fujitsu-tablet.c
…
gpd-pocket-fan.c
…
hdaps.c treewide: Remove uninitialized_var() usage 2020-07-16 12:35:15 -07:00
hp-wireless.c platform/x86: hp-wireless: add AMD's hardware id to the supported list 2021-06-03 09:00:44 +02:00
hp-wmi.c platform/x86: hp-wmi: Disable tablet-mode reporting by default 2021-02-17 11:02:22 +01:00
hp_accel.c platform/x86: hp_accel: Fix an error handling path in 'lis3lv02d_probe()' 2021-11-26 10:39:16 +01:00
huawei-wmi.c platform/x86: huawei-wmi: check the return value of device_create_file() 2022-04-08 14:40:20 +02:00
i2c-multi-instantiate.c platform/x86: i2c-multi-instantiate: Don't create platform device for INT3515 ACPI nodes 2021-01-27 11:54:51 +01:00
ibm_rtl.c
…
ideapad-laptop.c platform/x86: ideapad-laptop: Disable touchpad_switch for ELAN0634 2021-01-27 11:54:51 +01:00
intel-hid.c platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2 2021-04-10 13:36:07 +02:00
intel-rst.c
…
intel-smartconnect.c
…
intel-uncore-frequency.c
…
intel-vbtn.c platform/x86: intel-vbtn: Stop reporting SW_DOCK events 2021-03-30 14:31:53 +02:00
intel-wmi-sbl-fw-update.c
…
intel-wmi-thunderbolt.c
…
intel_atomisp2_led.c platform/x86: Add new intel_atomisp2_led driver 2020-07-09 22:47:27 +03:00
intel_atomisp2_pm.c
…
intel_bxtwc_tmu.c
…
intel_cht_int33fe_common.c platform/x86: intel_cht_int33fe: Drop double check for ACPI companion device 2020-07-09 22:40:36 +03:00
intel_cht_int33fe_common.h
…
intel_cht_int33fe_microb.c
…
intel_cht_int33fe_typec.c
…
intel_chtdc_ti_pwrbtn.c
…
intel_int0002_vgpio.c platform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when using s2idle 2021-05-26 12:06:49 +02:00
intel_ips.c
…
intel_ips.h
…
intel_menlow.c
…
intel_mid_powerbtn.c
…
intel_mid_thermal.c thermal: Explicitly enable non-changing thermal zone devices 2020-06-29 20:26:37 +02:00
intel_mrfld_pwrbtn.c
…
intel_oaktrail.c
…
intel_pmc_core.c platform/x86: intel_pmc_core: Don't use global pmcdev in quirks 2021-05-11 14:47:21 +02:00
intel_pmc_core.h platform/x86: intel_pmc_core: Fix the slp_s0 counter displayed value 2020-10-07 23:06:29 +02:00
intel_pmc_core_pltdrv.c platform/x86: intel_pmc_core: fix memleak on registration failure 2021-12-29 12:26:02 +01:00
intel_punit_ipc.c platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR() 2021-09-30 10:11:01 +02:00
intel_scu_ipc.c platform/x86: intel_scu_ipc: Update timeout value in comment 2021-10-27 09:56:55 +02:00
intel_scu_ipcutil.c
…
intel_scu_pcidrv.c
…
intel_scu_pltdrv.c
…
intel_telemetry_core.c
…
intel_telemetry_debugfs.c
…
intel_telemetry_pltdrv.c
…
intel_turbo_max_3.c
…
lg-laptop.c
…
mlx-platform.c platform/x86: mlx-platform: remove an unused variable 2020-12-30 11:54:19 +01:00
msi-laptop.c
…
msi-wmi.c
…
mxm-wmi.c
…
panasonic-laptop.c
…
pcengines-apuv2.c platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables 2021-08-18 08:59:09 +02:00
peaq-wmi.c
…
pmc_atom.c platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table 2021-05-14 09:50:20 +02:00
samsung-laptop.c platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative 2022-04-27 13:53:53 +02:00
samsung-q10.c
…
sony-laptop.c
…
surface3-wmi.c
…
surface3_button.c
…
surface3_power.c surface: surface3_power: Fix battery readings on batteries without a serial number 2022-03-02 11:42:51 +01:00
surfacepro3_button.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
system76_acpi.c platform/x86: system76-acpi: Fix brightness_set schedule while atomic 2020-07-09 22:40:36 +03:00
tc1100-wmi.c
…
thinkpad_acpi.c platform/x86: thinkpad_acpi: Fix WWAN device disabled issue after S3 deep 2021-12-08 09:03:19 +01:00
topstar-laptop.c
…
toshiba-wmi.c
…
toshiba_acpi.c platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard() 2021-07-14 16:56:00 +02:00
toshiba_bluetooth.c
…
toshiba_haps.c
…
touchscreen_dmi.c platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1 2022-02-23 12:00:58 +01:00
wmi-bmof.c
…
wmi.c platform/x86: wmi: do not fail if disabling fails 2021-11-18 14:03:53 +01:00
xiaomi-wmi.c
…
xo1-rfkill.c
…
xo15-ebook.c
…