OpenCloudOS-Kernel/drivers/extcon
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
..
Kconfig extcon: Palmas Extcon Driver 2013-06-17 16:08:36 -07:00
Makefile extcon: Palmas Extcon Driver 2013-06-17 16:08:36 -07:00
extcon-adc-jack.c iio: Update iio_channel_get API to use consumer device pointer as argument 2013-02-06 19:23:52 +00:00
extcon-arizona.c extcon: arizona: Make mic detection timeout configurable 2013-04-02 11:54:07 +01:00
extcon-class.c drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
extcon-gpio.c extcon: gpio: Rename filename of extcon-gpio.c according to kernel naming style 2013-02-13 08:35:43 -08:00
extcon-max8997.c extcon: max8997: Fix return value 2013-04-09 07:53:46 +09:00
extcon-max77693.c extcon: max77693: Fix return value 2013-04-09 07:53:46 +09:00
extcon-palmas.c extcon: Palmas Extcon Driver 2013-06-17 16:08:36 -07:00