summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorPhilip Elcan <pelcan@nvidia.com>2018-09-17 11:42:33 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-20 15:58:54 -0400
commitfa7394037c94205e5645b5565deeae978c458ba5 (patch)
tree716b0af7ae7dd836eea703dcc2b4452ebce9edf3 /drivers/gpu/nvgpu/include
parent8c4b073537cdde960eaa577c18c46bc075a52b6f (diff)
gpu: nvgpu: unit: posix_bitops: fix fls() tests
The fls() test assumed fls(1)=0, but really fls(1)=1, etc. Bug found as result of JIRA NVGPU-1042. Change-Id: I8d0ffe53277f4923a970b46788165ef03b385703 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1828362 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-misra-checker <svc-misra-checker@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>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
0 files changed, 0 insertions, 0 deletions