linux/drivers/media/usb/pvrusb2
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
..
Kconfig media: pvrusb2: Add Hauppauge HVR1955/1975 devices 2019-06-13 14:31:25 -04:00
Makefile
pvrusb2-audio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-audio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-context.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-context.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-cs53l32a.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-cs53l32a.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-ctrl.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-ctrl.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-cx2584x-v4l.c media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-cx2584x-v4l.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-debug.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-debugifc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-debugifc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-devattr.c media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-devattr.h media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-dvb.c media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-dvb.h media: pvrusb2: Add i2c client demod/tuner support 2019-06-13 14:29:37 -04:00
pvrusb2-eeprom.c media: pvrusb2: use kzalloc instead of kmalloc and memset 2019-08-13 11:48:57 -03:00
pvrusb2-eeprom.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-encoder.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-encoder.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-fx2-cmd.h media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-hdw-internal.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-hdw.c media: don't do a 31 bit shift on a signed int 2019-08-26 14:11:10 -03:00
pvrusb2-hdw.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-i2c-core.c media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-i2c-core.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-io.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-io.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-ioread.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-ioread.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-main.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-std.c media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-std.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-sysfs.c media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-sysfs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-util.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-v4l2.c media: don't do a 31 bit shift on a signed int 2019-08-26 14:11:10 -03:00
pvrusb2-v4l2.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-video-v4l.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-video-v4l.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-wm8775.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-wm8775.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00