devtools: warn on C99-style comment
authorLance Richardson <lance.richardson@broadcom.com>
Sat, 15 Feb 2020 17:09:50 +0000 (12:09 -0500)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 22 Feb 2020 19:49:38 +0000 (20:49 +0100)
C99-style comments are not permitted according to DPDK coding
style guidelines, enable checking for these by checkpatch.pl.

Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
devtools/checkpatches.sh

index b16bace..1794468 100755 (executable)
@@ -31,7 +31,7 @@ options="$options --ignore=LINUX_VERSION_CODE,\
 FILE_PATH_CHANGES,MAINTAINERS_STYLE,SPDX_LICENSE_TAG,\
 VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,\
 PREFER_KERNEL_TYPES,BIT_MACRO,CONST_STRUCT,\
-SPLIT_STRING,LONG_LINE_STRING,\
+SPLIT_STRING,LONG_LINE_STRING,C99_COMMENT_TOLERANCE,\
 LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\
 NEW_TYPEDEFS,COMPARISON_TO_NULL"
 options="$options $DPDK_CHECKPATCH_OPTIONS"