]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: amd-fch: Fix bogus SPDX identifier
authorThomas Gleixner <tglx@linutronix.de>
Tue, 19 Mar 2019 14:54:16 +0000 (15:54 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 22 Mar 2019 15:48:47 +0000 (16:48 +0100)
commite214553f06c571c09066e9f4e4f4273e53d65c04
tree33a534d71b93b4ff9fc9173b87427b3ca32d5bc6
parent6116fab9b02ed6f44c60c73861fb3243818753b0
gpio: amd-fch: Fix bogus SPDX identifier

spdxcheck.py complains:

 include/linux/platform_data/gpio/gpio-amd-fch.h: 1:28 Invalid License ID: GPL+

which is correct because GPL+ is not a valid identifier. Of course this
could have been caught by checkpatch.pl _before_ submitting or merging the
patch.

 WARNING: 'SPDX-License-Identifier: GPL+ */' is not supported in LICENSES/...
 #271: FILE: include/linux/platform_data/gpio/gpio-amd-fch.h:1:
 +/* SPDX-License-Identifier: GPL+ */

Fix it under the assumption that the author meant GPL-2.0+, which makes
sense as the corresponding C file is using that identifier.

Fixes: f03b019fa5bf ("gpio: AMD G-Series PCH gpio driver")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
include/linux/platform_data/gpio/gpio-amd-fch.h