On Sun, 2019-06-02 at 08:39 +0200, Greg KH wrote: > The second patch fixes up a number of places in the tree where people > mistyped the string "SPDX-License-Identifier". Given that people can > not even type their own name all the time without mistakes, this was > bound to happen, and odds are, we will have to add some type of check > for this to checkpatch.pl to catch this happening in the future. [] > arch/arm/kernel/bugs.c | 2 +- > drivers/crypto/ux500/cryp/Makefile | 2 +- > drivers/phy/st/phy-stm32-usbphyc.c | 2 +- > drivers/pinctrl/sh-pfc/pfc-r8a77980.c | 2 +- > lib/test_stackinit.c | 2 +- > sound/soc/codecs/max9759.c | 2 +- > 6 files changed, 6 insertions(+), 6 deletions(-) checkpatch already gives a warning for each of these files except the Makefile as it has no filename extension. Filenames without extensions are not checked. $ ./scripts/checkpatch.pl -f --types=SPDX_LICENSE_TAG --nosummary --terse \ arch/arm/kernel/bugs.c \ drivers/crypto/ux500/cryp/Makefile \ drivers/phy/st/phy-stm32-usbphyc.c \ drivers/pinctrl/sh-pfc/pfc-r8a77980.c \ lib/test_stackinit.c \ sound/soc/codecs/max9759.c arch/arm/kernel/bugs.c:1: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 drivers/phy/st/phy-stm32-usbphyc.c:1: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 drivers/pinctrl/sh-pfc/pfc-r8a77980.c:1: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 lib/test_stackinit.c:1: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 sound/soc/codecs/max9759.c:1: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1