Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'drm-misc-next-fixes-2019-11-13' of git://anongit.freedesktop.org/drm/drm-misc into drm-next

- Fix memory leak in gpu debugfs node's release (Johan)

Cc: Johan Hovold <johan@kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>

From: Sean Paul <sean@poorly.run>
Link: https://patchwork.freedesktop.org/patch/msgid/20191113211056.GA78440@art_vandelay

+1 -5
+1 -5
drivers/gpu/drm/msm/msm_debugfs.c
··· 47 47 struct msm_gpu_show_priv *show_priv = m->private; 48 48 struct msm_drm_private *priv = show_priv->dev->dev_private; 49 49 struct msm_gpu *gpu = priv->gpu; 50 - int ret; 51 50 52 - ret = mutex_lock_interruptible(&show_priv->dev->struct_mutex); 53 - if (ret) 54 - return ret; 55 - 51 + mutex_lock(&show_priv->dev->struct_mutex); 56 52 gpu->funcs->gpu_state_put(show_priv->state); 57 53 mutex_unlock(&show_priv->dev->struct_mutex); 58 54