Skip to content

Commit ae81527

Browse files
trueptolemyphilmd
authored andcommitted
scripts/checkpatch: Fix typo in SPDX-License-Identifier keyword
Fix the typo in the error message to help `grep` the example: ERROR: New file '***' requires 'SPDX-License-Identifer' Fixes: fa4d79c ("scripts: mandate that new files have SPDX-License-Identifier") Signed-off-by: Zhao Liu <[email protected]> Reviewed-by: Alex Bennée <[email protected]> Message-ID: <[email protected]> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
1 parent 8c996e3 commit ae81527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/checkpatch.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,11 +1688,11 @@ sub process {
16881688
/\.(c|h|py|pl|sh|json|inc|Makefile)$/) {
16891689
# source code files MUST have SPDX license declared
16901690
ERROR("New file '$expect_spdx_file' requires " .
1691-
"'SPDX-License-Identifer'");
1691+
"'SPDX-License-Identifier'");
16921692
} else {
16931693
# Other files MAY have SPDX license if appropriate
16941694
WARN("Does new file '$expect_spdx_file' need " .
1695-
"'SPDX-License-Identifer'?");
1695+
"'SPDX-License-Identifier'?");
16961696
}
16971697
}
16981698
$expect_spdx = 1;

0 commit comments

Comments
 (0)