diff options
| author | Jiri Slaby <[email protected]> | 2009-07-13 21:20:21 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2009-07-15 05:56:12 +0000 |
| commit | 845792d940f5755b7a7837c450a71d9e831a13e2 (patch) | |
| tree | 92b4aee24f19c6522e17e2b2b026ea1128389c93 /lib/dynamic_debug.c | |
| parent | drm: drm_debugfs, check kmalloc retval (diff) | |
| download | kernel-845792d940f5755b7a7837c450a71d9e831a13e2.tar.gz kernel-845792d940f5755b7a7837c450a71d9e831a13e2.zip | |
drm: drm_gem, check kzalloc retval
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
