diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/as_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/as_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/as_gk20a.c b/drivers/gpu/nvgpu/gk20a/as_gk20a.c index dd5a5cf3..0f587a30 100644 --- a/drivers/gpu/nvgpu/gk20a/as_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/as_gk20a.c | |||
@@ -46,7 +46,7 @@ int gk20a_as_alloc_share(struct gk20a_as *as, | |||
46 | 46 | ||
47 | gk20a_dbg_fn(""); | 47 | gk20a_dbg_fn(""); |
48 | 48 | ||
49 | *out = 0; | 49 | *out = NULL; |
50 | as_share = kzalloc(sizeof(*as_share), GFP_KERNEL); | 50 | as_share = kzalloc(sizeof(*as_share), GFP_KERNEL); |
51 | if (!as_share) | 51 | if (!as_share) |
52 | return -ENOMEM; | 52 | return -ENOMEM; |