mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
MISRA Advisory Rule 12.1 states that the precedence of operators within expressions should be made explicit. This change modifies the min()/max()/min_t() macro implementations to eliminate these 12.1 violations. Jira NVGPU-3178 Change-Id: Ibc1b0bc107d128d300ebdec547417dc7ad201446 Signed-off-by: Scott Long <scottl@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2267898 Reviewed-by: Automatic_Commit_Validation_User 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>