drm/i915: Fix possible null dereference in framebuffer_info debugfs function
authorNamrta Salonie <namrta.salonie@intel.com>
Fri, 27 Nov 2015 08:13:11 +0000 (13:43 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 30 Nov 2015 08:14:24 +0000 (09:14 +0100)
commitb13b8402523cb2717d4e9b9c39538b1fd48b29d5
tree461590952a8ddd74058268d35f6779f2abf74de6
parent81fd874e55035ea15144c00452fe4bbbc666bd64
drm/i915: Fix possible null dereference in framebuffer_info debugfs function

Found by static code analysis tool.

v2: Inserted block instead of goto & renamed variables (Chris)
v3: Aligned code as per the opening brace (Chris)
    Rebased on top of nightly (Daniel)

Signed-off-by: Namrta Salonie <namrta.salonie@intel.com>
Signed-off-by: Deepak S <deepak.s@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c