Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: dib7000m: incorrect format specifier detected by clang

drivers/media/dvb-frontends/dib7000m.c:811:38: 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>

authored by

Sean Young and committed by
Mauro Carvalho Chehab
cfff5818 8821e928

+1 -1
+1 -1
drivers/media/dvb-frontends/dib7000m.c
··· 808 808 809 809 dib7000m_restart_agc(state); 810 810 811 - dprintk("SPLIT %p: %hd\n", demod, agc_split); 811 + dprintk("SPLIT %p: %u\n", demod, agc_split); 812 812 813 813 (*agc_state)++; 814 814 ret = 5;