mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
CERT-C INT30 requires checking for wrapping when doing arithmetic operations of unsigned value. This fixes INT30 violations in acr.c and acr_blob_construct_v1.c JIRA NVGPU-3575 Change-Id: Ib44cc5675f0f3af7575b1f5340c78cabe0ce67af Signed-off-by: Divya Singhatwaria <dsinghatwari@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2136158 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>