mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
INT31-C requires that integer conversions do not result in lost or misinterpreted data. Fix violations of INT31-C in utils unit. Add safe sub function for u8 variables to fix the violation. Jira NVGPU-3609 Change-Id: Ife51f5cc00c7127dd87d5d7b1b3c19ecf7bbfa4d Signed-off-by: ajesh <akv@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2169974 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>