linux_dsm_epyc7002/drivers/media
Gustavo A. R. Silva 8328ad0f82 media: rockchip/rga: use 64-bit arithmetic instead of 32-bit
Cast p to dma_addr_t in order to avoid a potential integer overflow.
This variable is being used in a context that expects an expression
of type dma_addr_t (u64).

The expression p << PAGE_SHIFT is currently being evaluated
using 32-bit arithmetic.

Addresses-Coverity-ID: 1458347 ("Unintentional integer overflow")

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-02-26 08:09:21 -05:00
..
cec media: cec: add SPDX license info 2018-02-14 13:16:03 -05:00
common media: vb2: Fix videobuf2 to map correct area 2018-02-26 08:06:31 -05:00
dvb-core vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
dvb-frontends media: dvb-frontends: ves1820: use 64-bit arithmetic instead of 32-bit 2018-02-26 08:07:38 -05:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media: i2c: max2175: use 64-bit arithmetic instead of 32-bit 2018-02-26 08:08:15 -05:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci media: pci: cx88-input: use 64-bit arithmetic instead of 32-bit 2018-02-26 08:08:46 -05:00
platform media: rockchip/rga: use 64-bit arithmetic instead of 32-bit 2018-02-26 08:09:21 -05:00
radio media: add SPDX license info 2018-02-14 13:17:03 -05:00
rc media: rc: get start time just before calling driver tx 2018-02-14 14:17:21 -05:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
usb media: s2255drv: Remove unneeded if else blocks 2018-02-26 07:57:38 -05:00
v4l2-core media: v4l2-core: v4l2-mc: Add SPDX license identifier 2018-02-26 07:42:03 -05:00
Kconfig media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: media-device: use strlcpy() instead of strncpy() 2018-02-26 06:58:40 -05:00
media-devnode.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
media-entity.c [media] media: Check for active and has_no_links overrun 2017-10-04 17:16:14 -03:00