summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/ctrl/ctrlperf.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-11-08 16:10:43 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-11 11:20:31 -0500
commitd09d259d74d229bb22e3440ab0660ecd66f94250 (patch)
tree20857c2af0811df6b1ee3af1993059662154364e /drivers/gpu/nvgpu/ctrl/ctrlperf.h
parent0f58a469042a1934ae6c97dee8532df64e171a48 (diff)
gpu: nvgpu: vgpu: Do not overwrite err code on fail
vgpu_vm_alloc_share() wants to return -EINVAL if VMA areas requested do not fulfill the criteria. The error code gets overwritten by a call to vgpu_comm_sendrecv(), which makes vgpu_vm_alloc_share() always return 0. Change-Id: I93f56025f963d1d4ad2f9b06139fce742d3be41b Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1249961 GVS: Gerrit_Virtual_Submit Reviewed-by: Aingara Paramakuru <aparamakuru@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/ctrl/ctrlperf.h')
0 files changed, 0 insertions, 0 deletions