summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a_allocator_page.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_allocator_page.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a_allocator_page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_allocator_page.c b/drivers/gpu/nvgpu/gk20a/gk20a_allocator_page.c
index 358b657f..94d30abf 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a_allocator_page.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a_allocator_page.c
@@ -378,7 +378,7 @@ static struct gk20a_page_alloc *__gk20a_alloc_slab(
378fail: 378fail:
379 kfree(alloc); 379 kfree(alloc);
380 kfree(chunk); 380 kfree(chunk);
381 return ERR_PTR(-ENOMEM); 381 return NULL;
382} 382}
383 383
384static void __gk20a_free_slab(struct gk20a_page_allocator *a, 384static void __gk20a_free_slab(struct gk20a_page_allocator *a,