OpenCloudOS-Kernel/drivers/media/pci/bt8xx
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 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
bt848.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
bt878.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 34 2019-05-24 17:27:11 +02:00
bt878.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
btcx-risc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
btcx-risc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bttv-audio-hook.c media: add SPDX headers to some files 2019-06-12 11:42:27 -04:00
bttv-audio-hook.h media: add SPDX headers to some files 2019-06-12 11:42:27 -04:00
bttv-cards.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
bttv-driver.c media: media/pci: don't set description for ENUM_FMT 2019-07-22 14:40:32 -04:00
bttv-gpio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
bttv-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
bttv-if.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
bttv-input.c media: don't do a 31 bit shift on a signed int 2019-08-26 14:11:10 -03:00
bttv-risc.c media: media/pci: don't set description for ENUM_FMT 2019-07-22 14:40:32 -04:00
bttv-vbi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
bttv.h media: pci: fix several typos 2019-03-01 09:32:51 -05:00
bttvp.h media: media/pci: don't set description for ENUM_FMT 2019-07-22 14:40:32 -04:00
dst.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
dst_ca.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
dst_ca.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
dst_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
dst_priv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dvb-bt8xx.c media: dvb-bt8xx: Make variable dst_config constant 2019-08-21 18:39:55 -03:00
dvb-bt8xx.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00