Commit dfa7ba5f authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] xc4000: shut up a bogus smatch message

smatch complains about:
	drivers/media/tuners/xc4000.c:1511 xc4000_get_signal() warn: '~value << 3' 524280 can't fit into 65535 'value'

Remove the bogus complain.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent f7b5dff0
...@@ -1508,7 +1508,7 @@ static int xc4000_get_signal(struct dvb_frontend *fe, u16 *strength) ...@@ -1508,7 +1508,7 @@ static int xc4000_get_signal(struct dvb_frontend *fe, u16 *strength)
if (value >= 0x2000) { if (value >= 0x2000) {
value = 0; value = 0;
} else { } else {
value = ~value << 3; value = (~value << 3) & 0xffff;
} }
goto ret; goto ret;
......
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