Commit 4ec14f24 authored by Sean Young's avatar Sean Young Committed by Mauro Carvalho Chehab

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: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent cfff5818
...@@ -915,7 +915,7 @@ static int dib7000p_agc_startup(struct dvb_frontend *demod) ...@@ -915,7 +915,7 @@ static int dib7000p_agc_startup(struct dvb_frontend *demod)
dib7000p_restart_agc(state); dib7000p_restart_agc(state);
dprintk("SPLIT %p: %hd\n", demod, agc_split); dprintk("SPLIT %p: %u\n", demod, agc_split);
(*agc_state)++; (*agc_state)++;
ret = 5; ret = 5;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment