]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ab6359d5979b414c168826aecb8fe75984651da
tree461590952a8ddd74058268d35f6779f2abf74de6
parent3751ea5668be9505f1f2b8b6703ba8f02bc7ddf8
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