summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/nvgpu_common.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-12-20 17:38:53 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-04 04:44:23 -0500
commitb6031e4e15f4afe4bed9965ecca1e2cf6d08342e (patch)
tree5809e51f644b6b8b0466a268e25b3d3e18cb5642 /drivers/gpu/nvgpu/nvgpu_common.c
parent2958db6f5625a9f566644a6830dc96e1b6879327 (diff)
gpu: nvgpu: Check for NULL in job allocation
When allocating job channel_gk20a_job structure we assign the result of allocation to *job_out, but we check the result of allocation in job_out. Change the check to check for result in *job_out. Change-Id: Ia170cfa2dd5730665434b4c223c5a2f9502c744d Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1275741 GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/nvgpu_common.c')
0 files changed, 0 insertions, 0 deletions