linux_dsm_epyc7002/drivers/media/pci
Mauro Carvalho Chehab cce8ccca80 media: use the BIT() macro
As warned by cppcheck:

	[drivers/media/dvb-frontends/cx24123.c:434]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
	[drivers/media/pci/bt8xx/bttv-input.c:87]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
	[drivers/media/pci/bt8xx/bttv-input.c:98]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
			...
	[drivers/media/v4l2-core/v4l2-ioctl.c:1391]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour

There are lots of places where we're doing 1 << 31. That's bad,
as, depending on the architecture, this has an undefined behavior.

The BIT() macro is already prepared to handle this, so, let's
just switch all "1 << number" macros by BIT(number) at the header files
with has 1 << 31.

Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com> # exynos4-is and s3c-camif
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> # omap3isp, vsp1, xilinx, wl128x and ipu3
Reviewed-by: Benoit Parrot <bparrot@ti.com> # am437x and ti-vpe
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-08-26 14:08:50 -03:00
..
b2c2 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
bt8xx media: dvb-bt8xx: Make variable dst_config constant 2019-08-21 18:39:55 -03:00
cobalt media: use the BIT() macro 2019-08-26 14:08:50 -03:00
cx18 media: remove include stdarg.h from some drivers 2019-08-26 14:01:44 -03:00
cx88 media: media/pci: don't set description for ENUM_FMT 2019-07-22 14:40:32 -04:00
cx23885 media: media/pci: don't set description for ENUM_FMT 2019-07-22 14:40:32 -04:00
cx25821 media: media/pci: don't set description for ENUM_FMT 2019-07-22 14:40:32 -04:00
ddbridge Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
dm1105 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dt3155 media: media/pci: don't set description for ENUM_FMT 2019-07-22 14:40:32 -04:00
intel media: ipu3-cio2: Parse information from firmware without using callbacks 2019-07-25 11:01:24 -04:00
ivtv media: use the BIT() macro 2019-08-26 14:08:50 -03:00
mantis media: use the BIT() macro 2019-08-26 14:08:50 -03:00
meye media: media/pci: don't set description for ENUM_FMT 2019-07-22 14:40:32 -04:00
netup_unidvb treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
ngene media: ngene: Remove call to memset after pci_alloc_consistent 2019-08-13 11:54:39 -03:00
pluto2 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
pt1 media: pci: Use dev_get_drvdata where possible 2019-07-25 06:45:10 -04:00
pt3 media: pci: Use dev_get_drvdata where possible 2019-07-25 06:45:10 -04:00
saa7134 media: saa7134: fix terminology around saa7134_i2c_eeprom_md7134_gate() 2019-08-26 10:45:49 -03:00
saa7146 media: saa7146: add cleanup in hexium_attach() 2019-08-26 10:40:55 -03:00
saa7164 media: media/pci: don't set description for ENUM_FMT 2019-07-22 14:40:32 -04:00
smipcie treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
solo6x10 media: use the BIT() macro 2019-08-26 14:08:50 -03:00
sta2x11 media: media/pci: don't set description for ENUM_FMT 2019-07-22 14:40:32 -04:00
ttpci media: remove include stdarg.h from some drivers 2019-08-26 14:01:44 -03:00
tw68 media: drivers/media: don't set pix->priv = 0 2019-07-23 08:48:33 -04:00
tw686x media: media/pci: set device_caps in struct video_device 2019-06-24 14:57:12 -04:00
tw5864 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00