Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348639
b: refs/heads/master
c: 82c805a
h: refs/heads/master
i:
  348637: f875808
  348635: 883dd1f
  348631: 9097cb7
  348623: 9210a0c
  348607: 85c51f5
v: v3
  • Loading branch information
Marcin Slusarz authored and Ben Skeggs committed Jan 13, 2013
1 parent f6db373 commit c54a33e
Show file tree
Hide file tree
Showing 2 changed files with 5 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: cfd376b6bfccf33782a0748a9c70f7f752f8b869
refs/heads/master: 82c805abb20946dcb343cd607327e4d720bf6b28
5 changes: 4 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/core/core/handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ nouveau_handle_create(struct nouveau_object *parent, u32 _parent, u32 _handle,
while (!nv_iclass(namedb, NV_NAMEDB_CLASS))
namedb = namedb->parent;

handle = *phandle = kzalloc(sizeof(*handle), GFP_KERNEL);
handle = kzalloc(sizeof(*handle), GFP_KERNEL);
if (!handle)
return -ENOMEM;

Expand Down Expand Up @@ -146,6 +146,9 @@ nouveau_handle_create(struct nouveau_object *parent, u32 _parent, u32 _handle,
}

hprintk(handle, TRACE, "created\n");

*phandle = handle;

return 0;
}

Expand Down

0 comments on commit c54a33e

Please sign in to comment.