mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
While resolving MISRA 10.8 violations in our definitions of U8_MAX, U16_MAX, etc, some of the variants tried that looked valid created invalid values due to integer promotions. So, for sanity, we should validate these macros in the unit test for posix-env. JIRA NVGPU-2955 Change-Id: I9c4b66771a875728c2bf79036e9a510bbc871bfb Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2078365 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>