kernel-hacking-2024-linux-s.../drivers/platform/x86
Lee, Chun-Yi f24c96eae5 acer-wmi: avoid the warning of 'devices' may be used uninitialized
Fengguang Wu run kernel build test to platform-drivers-x86/linux-next git tree
on x86_64 architecture and found a warning that was introduced by
727651bf738b6b917335025d09323d0962eda114 commit:

drivers/platform/x86/acer-wmi.c: In function ‘WMID_set_capabilities’:
drivers/platform/x86/acer-wmi.c:1211: warning: ‘devices’ may be used
uninitialized in this function

This patch fixes the above warning message.

Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
2013-02-27 08:30:41 -05:00
..
acer-wmi.c acer-wmi: avoid the warning of 'devices' may be used uninitialized 2013-02-27 08:30:41 -05:00
acerhdf.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
amilo-rfkill.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
apple-gmux.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
asus-laptop.c asus-laptop: always report brightness key events 2013-02-27 08:30:38 -05:00
asus-nb-wmi.c asus-wmi: always report brightness key events 2013-02-27 08:30:37 -05:00
asus-wmi.c asus-wmi: always report brightness key events 2013-02-27 08:30:37 -05:00
asus-wmi.h asus-wmi: always report brightness key events 2013-02-27 08:30:37 -05:00
chromeos_laptop.c Platform: x86: chromeos_laptop - Add HP Pavilion 14 2013-02-27 08:30:40 -05:00
classmate-laptop.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
compal-laptop.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
dell-laptop.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
dell-wmi-aio.c
dell-wmi.c
eeepc-laptop.c ACPI and power management updates for 3.9-rc1 2013-02-20 11:26:56 -08:00
eeepc-wmi.c asus-wmi: always report brightness key events 2013-02-27 08:30:37 -05:00
fujitsu-laptop.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
fujitsu-tablet.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
hdaps.c platform / x86 / PM: Fix unused function warnings for CONFIG_PM_SLEEP 2012-08-10 14:29:43 +02:00
hp-wmi.c Platform: hp-wmi: add rfkill support for integrated GPS 2013-02-24 14:49:56 -08:00
hp_accel.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
ibm_rtl.c efi: Make 'efi_enabled' a function to query EFI facilities 2013-01-30 11:51:59 -08:00
ideapad-laptop.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
intel_ips.c Power management updates for 3.6 2012-07-22 13:36:52 -07:00
intel_ips.h
intel_menlow.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
intel_mid_powerbtn.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
intel_mid_thermal.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
intel_oaktrail.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
intel_pmic_gpio.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
intel_scu_ipc.c
intel_scu_ipcutil.c
Kconfig Platform: x86: Add Chrome OS Laptop driver 2013-02-24 14:49:57 -08:00
Makefile Platform: x86: Add Chrome OS Laptop driver 2013-02-24 14:49:57 -08:00
msi-laptop.c msi-laptop: Disable brightness control for new EC 2013-02-24 14:49:53 -08:00
msi-wmi.c msi-wmi: Add MSI Wind support 2013-02-24 14:49:54 -08:00
mxm-wmi.c
panasonic-laptop.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
samsung-laptop.c samsung-laptop: Disable on EFI hardware 2013-01-30 11:52:11 -08:00
samsung-q10.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
sony-laptop.c sony-laptop: support basic functions for handle 0x14B and 0x14C 2013-02-27 08:30:37 -05:00
tc1100-wmi.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
thinkpad_acpi.c drivers/platform/x86/thinkpad_acpi.c: Handle HKEY event 0x6040 2013-02-27 08:30:41 -05:00
topstar-laptop.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
toshiba_acpi.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
toshiba_bluetooth.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
wmi.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
xo1-rfkill.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
xo15-ebook.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00