mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
The unit_id is a u8, but the macros defining the different unit ids as u32s in the header file. This causes MISRA 10.3 violations for implicitly assigning objects of different size. So, this change makes the header declarations u8s to avoid the 10.3 violations. JIRA NVGPU-1008 Change-Id: I9790793b43d1d710941d8da2e6e97f07bc44e30c Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2017607 Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Adeel Raza <araza@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>