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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
clock.c | ||
core.c | ||
core.h | ||
dsp.h | ||
dsp_audio.c | ||
dsp_biquad.h | ||
dsp_blowfish.c | ||
dsp_cmx.c | ||
dsp_core.c | ||
dsp_dtmf.c | ||
dsp_ecdis.h | ||
dsp_hwec.c | ||
dsp_hwec.h | ||
dsp_pipeline.c | ||
dsp_tones.c | ||
fsm.c | ||
fsm.h | ||
hwchannel.c | ||
l1oip.h | ||
l1oip_codec.c | ||
l1oip_core.c | ||
layer1.c | ||
layer1.h | ||
layer2.c | ||
layer2.h | ||
socket.c | ||
stack.c | ||
tei.c | ||
timerdev.c |