aboutsummaryrefslogtreecommitdiff
path: root/include/media/media-device.h
diff options
context:
space:
mode:
authorGravatar Nicolas Iooss <nicolas.iooss_linux@m4x.org> 2016-11-26 17:43:50 -0200
committerGravatar Mauro Carvalho Chehab <mchehab@s-opensource.com> 2017-02-03 07:20:19 -0200
commit92fbeb40b132f5b2ec335f644ba563a1a85ffd8b (patch)
tree6b57f072a4d564065c1387f70fcff14d6e285512 /include/media/media-device.h
parent[media] media: ti-vpe: vpdma: fix a timeout loop (diff)
downloadlinux-92fbeb40b132f5b2ec335f644ba563a1a85ffd8b.tar.gz
linux-92fbeb40b132f5b2ec335f644ba563a1a85ffd8b.tar.bz2
linux-92fbeb40b132f5b2ec335f644ba563a1a85ffd8b.zip
[media] tw686x: silent -Wformat-security warning
Using sprintf() with a non-literal string makes some compiler complain when building with -Wformat-security (eg. clang reports "format string is not a string literal (potentially insecure)"). Here sprintf() format parameter is indirectly a literal string so there is no security issue. Nevertheless adding a "%s" format string to silent the warning helps to detect real bugs in the kernel. Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/media-device.h')
0 files changed, 0 insertions, 0 deletions