tmp_suning_uos_patched/drivers/media/platform/rockchip/rga
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
..
Makefile
rga-buf.c media: rockchip/rga: use 64-bit arithmetic instead of 32-bit 2018-02-26 08:09:21 -05:00
rga-hw.c
rga-hw.h
rga.c media: rockchip/rga: annotate PM functions as __maybe_unused 2017-10-31 07:21:56 -04:00
rga.h