summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>2016-12-26 14:31:39 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-02-03 14:50:40 +0100
commit4c171636bc2beca81b25b07fbe4ac2a6ab27f982 (patch)
tree9b722b7ec8ce55abbb0ad51ca8b658ae0d247b58 /include/media
parent[media] cx23885: attach md88ds3103 driver via i2c_client for DVBSky S952 (diff)
downloadlinux-4c171636bc2beca81b25b07fbe4ac2a6ab27f982.tar.xz
linux-4c171636bc2beca81b25b07fbe4ac2a6ab27f982.zip
[media] v4l: rcar_fdp1: use %4.4s to format a 4-byte string
Using %4s to format f->fmt.pix_mp.pixelformat in fdp1_try_fmt() and fdp1_s_fmt() may lead to more characters being printed (when the byte following field pixelformat is not zero). Add ".4" to the format specifier to limit the number of printed characters to four. The resulting format specifier "%4.4s" is also used by other media drivers to print pixelformat value. Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org> Reviewed-by: Kieran Bingham <kieran@bingham.xyz> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions