
On Sun, Dec 15, 2024 at 03:55:35AM +0100, Heinrich Schuchardt wrote:
On 12/15/24 03:37, Heinrich Schuchardt wrote:
The correct SPDX identifier for the 'GNU General Public License v2.0 or later' is GPL-2.0-or-later.
Checkpatch.pl uses the misspelled words from spelling.txt both as keys of a hash and as part of a regular expression. For usage in the regular expression special characters like the plus sign need to be escaped.
Heinrich Schuchardt (2): scripts/checkpatch.pl: allow special characters in spelling.txt scripts/spelling.txt: add GPL-2.0+
scripts/checkpatch.pl | 2 +- scripts/spelling.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
I sent similar patches send to the Linux kernel list:
https://lore.kernel.org/lkml/20241215025104.70096-1-heinrich.schuchardt@cano...
Thanks for trying this upstream. As they seem uninterested, adding this to the existing function of "sub u_boot_line" in our checkpatch.pl is fine as an alternative.