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

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>

authored by

Sean Young and committed by
Mauro Carvalho Chehab
4ec14f24 cfff5818

+1 -1
+1 -1
drivers/media/dvb-frontends/dib7000p.c
··· 915 915 916 916 dib7000p_restart_agc(state); 917 917 918 - dprintk("SPLIT %p: %hd\n", demod, agc_split); 918 + dprintk("SPLIT %p: %u\n", demod, agc_split); 919 919 920 920 (*agc_state)++; 921 921 ret = 5;