Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281348
b: refs/heads/master
c: b369839
h: refs/heads/master
v: v3
  • Loading branch information
Rob Clark authored and Greg Kroah-Hartman committed Dec 13, 2011
1 parent 7d8615a commit 132da97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16772a495ab4ee2f99b3f0094907b00d263620de
refs/heads/master: b369839b88d6ffd9ad5b4f9362d6bb09a0e16c10
4 changes: 4 additions & 0 deletions trunk/drivers/staging/omapdrm/omap_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,10 @@ void omap_gem_init(struct drm_device *dev)
}

usergart = kzalloc(3 * sizeof(*usergart), GFP_KERNEL);
if (!usergart) {
dev_warn(dev->dev, "could not allocate usergart\n");
return;
}

/* reserve 4k aligned/wide regions for userspace mappings: */
for (i = 0; i < ARRAY_SIZE(fmts); i++) {
Expand Down

0 comments on commit 132da97

Please sign in to comment.