]> asedeno.scripts.mit.edu Git - linux.git/commit
media: dib7000p: incorrect format specifier detected by clang
authorSean Young <sean@mess.org>
Wed, 1 Jan 2020 08:59:58 +0000 (09:59 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 8 Jan 2020 10:37:40 +0000 (11:37 +0100)
commit4ec14f24c7102c7c14bc6aa2dbccd6a0b5504acd
tree091d38246d6bb4962a5a6b510d74c5fda1c94332
parentcfff58188e4dbc2a09ade46c72e7535666a03a80
media: dib7000p: incorrect format specifier detected by clang

drivers/media/dvb-frontends/dib7000p.c:918:37: warning: format specifies type 'short' but the argument has type 'u8' (aka 'unsigned char') [-Wformat]
                dprintk("SPLIT %p: %hd\n", demod, agc_split);
                                   ~~~            ^~~~~~~~~
                                   %hhu

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/dvb-frontends/dib7000p.c