Files
linux-nvgpu/drivers/gpu/nvgpu/include
Philip Elcan 7743ac2179 gpu: nvgpu: make U8_MAX and U16_MAX CERT-C friendly
Due to the promotion rules for bit operations, ~0 is getting promoted
to an int for U8_MAX and U16_MAX, so just use the hex value for these
smaller numbers.

JIRA NVGPU-3519

Change-Id: I5da200db72d806ee354716bb1bb718438db4b6a9
Signed-off-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2126826
Reviewed-by: Nitin Kumbhar <nkumbhar@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>
2019-06-03 13:26:41 -07:00
..