[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181008134928.GA31820@kroah.com>
Date: Mon, 8 Oct 2018 15:49:28 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Gao Xiang <gaoxiang25@...wei.com>
Cc: Loic Tourlonias <loic.tourlonias.lkml@...il.com>,
Chao Yu <yuchao0@...wei.com>, linux-erofs@...ts.ozlabs.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: erofs: add SPDX identifer
On Mon, Oct 08, 2018 at 09:20:55PM +0800, Gao Xiang wrote:
> Hi Loic,
>
> On 2018/10/8 18:41, Loic Tourlonias wrote:
> > Add SPDX identifier to simplify header and remove whole license text
> >
> > Signed-off-by: Loic Tourlonias <loic.tourlonias.lkml@...il.com>
> > ---
> > drivers/staging/erofs/lz4defs.h | 23 ++---------------------
> > 1 file changed, 2 insertions(+), 21 deletions(-)
> >
> > diff --git a/drivers/staging/erofs/lz4defs.h b/drivers/staging/erofs/lz4defs.h
> > index 00a0b58a0871..bdb1022981d8 100644
> > --- a/drivers/staging/erofs/lz4defs.h
> > +++ b/drivers/staging/erofs/lz4defs.h
> > @@ -1,32 +1,13 @@
> > #ifndef __LZ4DEFS_H__
> > #define __LZ4DEFS_H__
> >
> > +// SPDX-License-Identifier: BSD-2-Clause
>
> For *.h files, it seems SPDX Identifier should be /* SPDX-License-Identifier: */
> rather than // SPDX-License-Identifier:
That is correct.
> And I think it should be placed at the first line of the line, but I am not sure of that.
Yes, it has to be the first line.
The documentation for the SPDX lines in the kernel describe all of this.
thanks,
greg k-h
Powered by blists - more mailing lists