summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorPhilip Elcan <pelcan@nvidia.com>2018-09-17 11:39:37 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-20 15:58:50 -0400
commit8c4b073537cdde960eaa577c18c46bc075a52b6f (patch)
treec5a5d703cc515987e2d432d7f16c8d41ae362a53 /drivers/gpu/nvgpu/include
parentcec1d923006a9b1a1caabd6a3f415cc6e041defa (diff)
gpu: nvgpu: posix: fix implementation of fls()
The POSIX implementation of fls() wasn't compliant with the Linux which returns fls(0)=0 fls(1)=1, etc. Bug found as result of JIRA NVGPU-1042. Change-Id: Id0279e36332ffe236ed792c013c32f2da841f557 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1828361 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