[Intel-gfx] [PATCH] drm/i915: Fix kerneldoc warnings for i915_gem_userptr
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Thu Feb 8 13:18:15 UTC 2018
On 08/02/18 11:13, Chris Wilson wrote:
> drivers/gpu/drm/i915/i915_gem_userptr.c:761: warning: No description found for parameter 'dev'
> drivers/gpu/drm/i915/i915_gem_userptr.c:761: warning: No description found for parameter 'data'
> drivers/gpu/drm/i915/i915_gem_userptr.c:761: warning: No description found for parameter 'file'
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> ---
> drivers/gpu/drm/i915/i915_gem_userptr.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_gem_userptr.c b/drivers/gpu/drm/i915/i915_gem_userptr.c
> index 382a77a1097e..1f9d24021cbb 100644
> --- a/drivers/gpu/drm/i915/i915_gem_userptr.c
> +++ b/drivers/gpu/drm/i915/i915_gem_userptr.c
> @@ -721,7 +721,7 @@ static const struct drm_i915_gem_object_ops i915_gem_userptr_ops = {
> .release = i915_gem_userptr_release,
> };
>
> -/**
> +/*
> * Creates a new mm object that wraps some normal memory from the process
> * context - user memory.
> *
> @@ -757,7 +757,9 @@ static const struct drm_i915_gem_object_ops i915_gem_userptr_ops = {
> * dma-buf instead.
> */
> int
> -i915_gem_userptr_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
> +i915_gem_userptr_ioctl(struct drm_device *dev,
> + void *data,
> + struct drm_file *file)
> {
> struct drm_i915_private *dev_priv = to_i915(dev);
> struct drm_i915_gem_userptr *args = data;
More information about the Intel-gfx
mailing list