Re: [PATCH] checkpatch: Verify SPDX comment style

From: Andrew Morton
Date: Tue Feb 05 2019 - 17:21:40 EST


On Thu, 10 Jan 2019 16:05:11 -0800 Joe Perches <joe@xxxxxxxxxxx> wrote:

> Using SPDX commenting style // or /* is specified for
> various file types in Documentation/process/license-rules.rst
> so add an appropriate test for .[chsS] files because many
> proposed file additions and patches do not use the correct style.

Dan's
http://lkml.kernel.org/r/154899811738.3165233.12325692939590944259.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
is giving me

WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
#500: FILE: mm/shuffle.h:1:
+// SPDX-License-Identifier: GPL-2.0

and switching it to /* */ doesn't fix. This happens with or without
this patch applied. What to do?