V4L/DVB (10283): cx18: Call request_module() with proper argument types.
authorAndy Walls <awalls@radix.net>
Sat, 17 Jan 2009 16:37:36 +0000 (13:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:25 +0000 (12:42 -0300)
commitbe411df610a970a0ab90e3b02d025ab2a3554b61
treea55d7c3b85f2ebb971a4ea71904427179a2e084e
parent888cdb07741ab0098ccb8d9feff3f98cad048c26
V4L/DVB (10283): cx18: Call request_module() with proper argument types.

request_module() needs to be called with a string literal for a
format string or with 1 or more variable arguments to avoid
compiler warnings and possible exploits, if someone could cause
us to get a format string with a '%' code in the format string
when we make the call.

Reported-by: Brandon Jenkins <bcjenkins@tvwhere.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-driver.c