drm/i915: Don't call describe_obj on NULL pointers
authorBen Widawsky <ben@bwidawsk.net>
Wed, 29 Jun 2011 18:41:51 +0000 (11:41 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 29 Jun 2011 20:05:52 +0000 (13:05 -0700)
commitdc501fbc4389f6c15a8da14684b5926e0d9553da
tree93ed1c9bcdf72ee5b6214eaa908b3e37c6d88ad9
parentd70bed1947772f34d66ada3bd923bfc12ea2452b
drm/i915: Don't call describe_obj on NULL pointers

Reported-by: Pavel Roskin <proski@gnu.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38777
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_debugfs.c