Files
linux-nvgpu/drivers
Scott Long b4dfe2c1f5 gpu: nvgpu: MISRA 12.1 fixes to min()/max()
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>
2020-12-15 14:10:29 -06:00
..
2017-10-29 11:00:55 -07:00