linux/drivers/gpu
Jiri Slaby 845792d940 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 <jirislaby@gmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-07-15 15:56:12 +10:00
..
drm drm: drm_gem, check kzalloc retval 2009-07-15 15:56:12 +10:00
Makefile drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00