mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
Fix cert c violations in common.gr CERT INT31-C: unsigned long to unsigned int without checking, it value may result in lose or misintepreted data. Casting the U64 data type define to U32 is causing certc violation. To avoid this error, add define BITS_PER_BYTE_U32 as a U32 data type. CERT EXP34-C: dereferencing null pointer "g". Jira NVGPU-3411 Change-Id: I9eaf76bde967ee075244723c51239a7c85d09e96 Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2118146 GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
17 KiB
17 KiB