[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1561133263.5154.50.camel@lca.pw>
Date: Fri, 21 Jun 2019 12:07:43 -0400
From: Qian Cai <cai@....pw>
To: akpm@...ux-foundation.org
Cc: airlied@...ux.ie, daniel@...ll.ch,
maarten.lankhorst@...ux.intel.com, sean@...rly.run,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Jonathan Corbet <corbet@....net>
Subject: Re: [RESEND PATCH] gpu/drm_memory: fix a few warnings
Ping.
On Fri, 2019-06-07 at 15:00 -0400, Qian Cai wrote:
> The opening comment mark "/**" is reserved for kernel-doc comments, so
> it will generate a warning with "make W=1".
>
> drivers/gpu/drm/drm_memory.c:2: warning: Cannot understand * \file
> drm_memory.c
>
> Also, silence a checkpatch warning by adding a license identfiter where
> it indicates the MIT license further down in the source file.
>
> WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
>
> Signed-off-by: Qian Cai <cai@....pw>
> ---
> drivers/gpu/drm/drm_memory.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_memory.c b/drivers/gpu/drm/drm_memory.c
> index 132fef8ff1b6..683042c8ee2c 100644
> --- a/drivers/gpu/drm/drm_memory.c
> +++ b/drivers/gpu/drm/drm_memory.c
> @@ -1,4 +1,5 @@
> -/**
> +// SPDX-License-Identifier: MIT
> +/*
> * \file drm_memory.c
> * Memory management wrappers for DRM
> *
Powered by blists - more mailing lists