mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
Fix CERT-C INT30 violations in mmu_fault_gv11b.c. INT30 requires checking for wrap when doing unsigned arithmetic. Use safe ops and asserts to comply. JIRA NVGPU-3628 Change-Id: I7f5024d1e95784e0ff3702c8da20e54233df468c Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2133799 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>