linux-kernel-test/drivers/media/radio
Mauro Carvalho Chehab 95c520690f media: don't do a 31 bit shift on a signed int
On 32-bits archs, a signed integer has 31 bits plus on extra
bit for signal. Due to that, touching the 32th bit with something
like:

	int bar = 1 << 31;

has an undefined behavior in C on 32 bit architectures, as it
touches the signal bit. This is warned by cppcheck.

Instead, force the numbers to be unsigned, in order to solve this
issue.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-08-26 14:11:10 -03:00
..
si470x media: radio/si470x: kill urb on error 2019-08-19 12:08:06 -03:00
si4713
wl128x media: use the BIT() macro 2019-08-26 14:08:50 -03:00
dsbr100.c
Kconfig
lm7000.h
Makefile
radio-aimslab.c
radio-aztech.c
radio-cadet.c
radio-gemtek.c media: don't do a 31 bit shift on a signed int 2019-08-26 14:11:10 -03:00
radio-isa.c
radio-isa.h
radio-keene.c
radio-ma901.c
radio-maxiradio.c
radio-miropcm20.c
radio-mr800.c
radio-raremono.c
radio-rtrack2.c
radio-sf16fmi.c
radio-sf16fmr2.c
radio-shark2.c
radio-shark.c
radio-si476x.c
radio-tea5764.c
radio-tea5777.c
radio-tea5777.h
radio-terratec.c
radio-timb.c
radio-trust.c media: remove include stdarg.h from some drivers 2019-08-26 14:01:44 -03:00
radio-typhoon.c
radio-wl1273.c
radio-zoltrix.c
saa7706h.c
tea575x.c
tef6862.c