]> 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)
commit72921f8385c76377a7303bcdbab168face98f209
tree33a534d71b93b4ff9fc9173b87427b3ca32d5bc6
parent90cbdd2a0e1021db27cefacd9fe2430e42b14ef2
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: a5db0079e632 ("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