linux/drivers/platform/x86
Kees Cook 02aa2a3763 drivers: avoid format string in dev_set_name
Calling dev_set_name with a single paramter causes it to be handled as a
format string.  Many callers are passing potentially dynamic string
content, so use "%s" in those cases to avoid any potential accidents,
including wrappers like device_create*() and bdi_register().

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:07:41 -07: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-nb-wmi: set wapf=4 for ASUSTeK COMPUTER INC. X75A 2013-05-08 19:59:52 -04:00
asus-wmi.c asus-wmi: Fix unused function build warning 2013-02-27 08:30:42 -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 basic platform data for atmel devices 2013-03-08 16:03:29 -08: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 dell-laptop: Fix krealloc() misuse in parse_da_table() 2013-05-08 19:59:44 -04:00
dell-wmi-aio.c dell: add new dell WMI format for the AIO machines 2013-05-08 19:59:43 -04:00
dell-wmi.c dell-wmi: Add keys for Dell XPS L502X 2011-08-05 15:21:47 -04:00
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_accel.c hp_accel: Ignore the error from lis3lv02d_poweron() at resume 2013-05-08 19:59:44 -04:00
hp-wmi.c x86 / platform / hp_wmi: Fix bluetooth_rfkill misuse in hp_wmi_rfkill_setup() 2013-06-01 23:51:48 +02: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 Add support for fan button on Ideapad Z580 2013-05-08 20:00:50 -04: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_ipc: Remove Moorestown support 2012-03-20 12:02:02 -04:00
intel_scu_ipcutil.c intel_scu_ipc: Remove Moorestown support 2012-03-20 12:02:02 -04:00
Kconfig pvpanic: pvpanic device driver 2013-05-08 19:59:52 -04:00
Makefile pvpanic: pvpanic device driver 2013-05-08 19:59:52 -04: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 mxm/wmi: add MXMX interface entry point. 2011-05-09 11:40:38 +10:00
panasonic-laptop.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
pvpanic.c pvpanic: pvpanic device driver 2013-05-08 19:59:52 -04:00
samsung-laptop.c samsung-laptop: Disable on EFI hardware 2013-01-30 11:52:11 -08:00
samsung-q10.c drivers: platform: x86: Use PTR_RET function 2013-05-08 19:59:44 -04:00
sony-laptop.c sony-laptop: SVS151290S kbd backlight and gfx switch support 2013-05-08 19:59:44 -04:00
tc1100-wmi.c Drivers: platform: x86: remove __dev* attributes. 2013-01-03 15:57:03 -08:00
thinkpad_acpi.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
topstar-laptop.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
toshiba_acpi.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
toshiba_bluetooth.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
wmi.c drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07: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