mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
In stdbool.h, gcc defines true and false as 1 and 0, respectively. Using these as booleans generates MISRA 14.4 violations. So, define them as real booleans in the POSIX types.h. JIRA NVGPU-1022 Change-Id: Ic00e6ffb885c8d60ed40ca10ca5d686b4c2d39eb Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1975425 Reviewed-by: Nicolas Benech <nbenech@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com> Reviewed-by: Scott Long <scottl@nvidia.com> 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>