diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index fd28dec1..5f9711d3 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -1501,6 +1501,7 @@ static void trace_write_pushbuffer_range(struct channel_gk20a *c, | |||
1501 | 1501 | ||
1502 | if (copy_from_user(g, | 1502 | if (copy_from_user(g, |
1503 | (void __user *)(uintptr_t)args->gpfifo, size)) { | 1503 | (void __user *)(uintptr_t)args->gpfifo, size)) { |
1504 | nvgpu_free(g); | ||
1504 | return; | 1505 | return; |
1505 | } | 1506 | } |
1506 | } | 1507 | } |