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>
This commit is contained in:
Marc Herbert 2021-12-01 12:06:06 -08:00 committed by Liam Girdwood
parent 235255bc44
commit 60be65b567
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ jobs:
# TODO: reduce duplication with scripts/sof-*-commit-hook.sh
# thanks to either some .conf file or some wrapper script
CHK_CMD_OPTS: --ignore UNKNOWN_COMMIT_ID --codespell
--ignore C99_COMMENT_TOLERANCE
steps:
# depth 2 so:
# ^1. we can show the Subject of the current target branch tip

View File

@ -7,4 +7,4 @@ set -e
# and with .github/workflows/ with either some .conf file
# or some wrapper script
exec git show --format=email HEAD |
./scripts/checkpatch.pl --no-tree --strict --codespell --ignore C99_COMMENT_TOLERANCE
./scripts/checkpatch.pl --no-tree --strict --codespell