Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348638
b: refs/heads/master
c: cfd376b
h: refs/heads/master
v: v3
  • Loading branch information
Marcin Slusarz authored and Ben Skeggs committed Jan 13, 2013
1 parent f875808 commit f6db373
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c4101d29fb6c63f78791d02c437702b11e1d4f0
refs/heads/master: cfd376b6bfccf33782a0748a9c70f7f752f8b869
4 changes: 3 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/core/subdev/vm/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ nouveau_vm_create(struct nouveau_vmmgr *vmm, u64 offset, u64 length,
u64 mm_length = (offset + length) - mm_offset;
int ret;

vm = *pvm = kzalloc(sizeof(*vm), GFP_KERNEL);
vm = kzalloc(sizeof(*vm), GFP_KERNEL);
if (!vm)
return -ENOMEM;

Expand All @@ -376,6 +376,8 @@ nouveau_vm_create(struct nouveau_vmmgr *vmm, u64 offset, u64 length,
return ret;
}

*pvm = vm;

return 0;
}

Expand Down

0 comments on commit f6db373

Please sign in to comment.