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
..
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-04-26 03:10:45 -04:00
2012-04-26 03:10:45 -04:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-05-04 11:55:39 -04:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-11-30 12:10:57 -05:00