Skip to content

Commit 60be65b

Browse files
marc-hblgirdwood
authored andcommitted
check patch: allow C99 comments
This is a logical revert of eb45907 Based on recently merged #4941, C99 comments are now OK. I never found any rationale or even written down coding style for excluding them in the first place. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 235255b commit 60be65b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/codestyle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# TODO: reduce duplication with scripts/sof-*-commit-hook.sh
2323
# thanks to either some .conf file or some wrapper script
2424
CHK_CMD_OPTS: --ignore UNKNOWN_COMMIT_ID --codespell
25-
--ignore C99_COMMENT_TOLERANCE
25+
2626
steps:
2727
# depth 2 so:
2828
# ^1. we can show the Subject of the current target branch tip

scripts/sof-post-commit-hook.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ set -e
77
# and with .github/workflows/ with either some .conf file
88
# or some wrapper script
99
exec git show --format=email HEAD |
10-
./scripts/checkpatch.pl --no-tree --strict --codespell --ignore C99_COMMENT_TOLERANCE
10+
./scripts/checkpatch.pl --no-tree --strict --codespell

0 commit comments

Comments
 (0)