Tegra: memctrl_v2: fix "overflow before widen" coverity issue
This patch fixes a coding error, where the size of the protected memory area
was truncated due to an incorrect typecast.

This defect was found by coverity and reported as CID 336781.

Change-Id: I41878b0a9a5e5cd78ef3393fdc7b9ea7f7403ed3
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
1 parent 5dbdf8e commit 36bf55d66c3b01970f8aff0d3c2b70c9271717b7
@Varun Wadekar Varun Wadekar authored on 5 Sep 2019
Showing 1 changed file
View
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c