Commit 324dca17 authored by Lee Jones's avatar Lee Jones Committed by Rob Clark

drm/msm/msm_gem_shrinker: Fix descriptions for 'drm_device'

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/msm/msm_gem_shrinker.c:108: warning: Function parameter or member 'dev' not described in 'msm_gem_shrinker_init'
 drivers/gpu/drm/msm/msm_gem_shrinker.c:108: warning: Excess function parameter 'dev_priv' description in 'msm_gem_shrinker_init'
 drivers/gpu/drm/msm/msm_gem_shrinker.c:126: warning: Function parameter or member 'dev' not described in 'msm_gem_shrinker_cleanup'
 drivers/gpu/drm/msm/msm_gem_shrinker.c:126: warning: Excess function parameter 'dev_priv' description in 'msm_gem_shrinker_cleanup'

Cc: Rob Clark <robdclark@gmail.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: linux-arm-msm@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: freedreno@lists.freedesktop.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent ea8742c6
...@@ -124,7 +124,7 @@ msm_gem_shrinker_vmap(struct notifier_block *nb, unsigned long event, void *ptr) ...@@ -124,7 +124,7 @@ msm_gem_shrinker_vmap(struct notifier_block *nb, unsigned long event, void *ptr)
/** /**
* msm_gem_shrinker_init - Initialize msm shrinker * msm_gem_shrinker_init - Initialize msm shrinker
* @dev_priv: msm device * @dev: drm device
* *
* This function registers and sets up the msm shrinker. * This function registers and sets up the msm shrinker.
*/ */
...@@ -142,7 +142,7 @@ void msm_gem_shrinker_init(struct drm_device *dev) ...@@ -142,7 +142,7 @@ void msm_gem_shrinker_init(struct drm_device *dev)
/** /**
* msm_gem_shrinker_cleanup - Clean up msm shrinker * msm_gem_shrinker_cleanup - Clean up msm shrinker
* @dev_priv: msm device * @dev: drm device
* *
* This function unregisters the msm shrinker. * This function unregisters the msm shrinker.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment