Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304256
b: refs/heads/master
c: 1c3a4dc
h: refs/heads/master
v: v3
  • Loading branch information
Rob Clark authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent 1544a74 commit c73cade
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 68a75f3f1aeae099388f63e4cec3ad08aff8e7da
refs/heads/master: 1c3a4dc3d01547103a81957d41f105d462f42c4d
4 changes: 2 additions & 2 deletions trunk/drivers/staging/omapdrm/omap_dmm_tiler.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ struct tiler_block *tiler_reserve_2d(enum tiler_fmt fmt, uint16_t w,
ret = tcm_reserve_2d(containers[fmt], w, h, align, &block->area);
if (ret) {
kfree(block);
return 0;
return ERR_PTR(-ENOMEM);
}

/* add to allocation list */
Expand All @@ -371,7 +371,7 @@ struct tiler_block *tiler_reserve_1d(size_t size)
if (tcm_reserve_1d(containers[TILFMT_PAGE], num_pages,
&block->area)) {
kfree(block);
return 0;
return ERR_PTR(-ENOMEM);
}

spin_lock(&omap_dmm->list_lock);
Expand Down

0 comments on commit c73cade

Please sign in to comment.