Files
linux-nvgpu/drivers/gpu/nvgpu
Alex Waterman 0ea97181f2 gpu: nvgpu: Fix error handling of __semaphore_bitmap_alloc()
The return from __semaphore_bitmap_alloc() is an int for which a
negative value indicates a failure. That return value was being
directly cast to an unsigned int before being checked for a
negative error code. This obviously isn't a good idea.

Coverity ID 38754

Change-Id: I50c0478e5504988b059e69b929e9c2e465df7cc0
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1210317
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2016-08-31 14:04:12 -07:00
..
2016-07-19 21:02:22 -07:00
2016-08-12 08:13:34 -07:00
2016-04-27 08:10:54 -07:00