diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2017-11-27 04:25:47 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-27 16:44:22 -0500 |
commit | 4f8ba3ad0e2bdca3695bf1028cedd58eb87d6d51 (patch) | |
tree | 0e37a29b4426f109d7905017fe3f9a489b9c6da7 /drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | |
parent | c6b9177cfff8a41c3c3c78f5c47c7df677ced58c (diff) |
gpu: nvgpu: fix fence_from_* retvals
The functions gk20a_fence_from_semaphore and gk20a_fence_from_syncpt
return errno-like codes, so replace two conditions with better-fitting
errors than -1.
Change-Id: Ic9a43cd0365c1eb187e7dc19da14acdd2fbc3f1c
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1605563
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.c')
0 files changed, 0 insertions, 0 deletions