drm/i915: fix task reference leak in i915_debugfs.c
authorGeliang Tang <geliangtang@163.com>
Fri, 25 Sep 2015 10:58:11 +0000 (03:58 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 Sep 2015 12:26:37 +0000 (14:26 +0200)
commit7cb5dff8d59da8008c6ec30d4161e8e96aa4afe8
tree550e4713810d01562aebc3408fe49aa18feaf234
parent7c4a7d60bcda9449bca1ed2ee47392cd7acb8535
drm/i915: fix task reference leak in i915_debugfs.c

Leak a task reference in i915_ppgtt_info(), add put_task_struct()
to fix it.

Introduced by

commit 1c60fef535d143860d5bf6593e24ab6417f5227c
Author: Ben Widawsky <ben@bwidawsk.net>
Date:   Fri Dec 6 14:11:30 2013 -0800

    drm/i915: Dump all ppgtt

Signed-off-by: Geliang Tang <geliangtang@163.com>
[danvet: Add note provided by Jani about which commit introduced this
issue.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
This page took 0.02508 seconds and 5 git commands to generate.