git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d25e3a6
)
drm: drm_gem, check kzalloc retval
author
Jiri Slaby
<jirislaby@gmail.com>
Mon, 13 Jul 2009 21:20:21 +0000
(23:20 +0200)
committer
Dave Airlie
<airlied@linux.ie>
Wed, 15 Jul 2009 05:56:12 +0000
(15:56 +1000)
Check kzalloc retval against NULL in drm_gem_object_alloc and bail out
appropriately.
While at it merge the fail paths and jump to them by gotos at the end
of the function.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
No differences found