diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index 38cb368c..26285729 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -1573,7 +1573,7 @@ static int channel_gk20a_alloc_job(struct channel_gk20a *c, | |||
1573 | } else { | 1573 | } else { |
1574 | *job_out = kzalloc(sizeof(struct channel_gk20a_job), | 1574 | *job_out = kzalloc(sizeof(struct channel_gk20a_job), |
1575 | GFP_KERNEL); | 1575 | GFP_KERNEL); |
1576 | if (!job_out) | 1576 | if (!*job_out) |
1577 | err = -ENOMEM; | 1577 | err = -ENOMEM; |
1578 | } | 1578 | } |
1579 | 1579 | ||