From: Lance Richardson Date: Sat, 15 Feb 2020 17:09:50 +0000 (-0500) Subject: devtools: warn on C99-style comment X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7b6875ba6f37b32997d25e5e43ce62e99ca10597;p=dpdk.git devtools: warn on C99-style comment C99-style comments are not permitted according to DPDK coding style guidelines, enable checking for these by checkpatch.pl. Signed-off-by: Lance Richardson --- diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index b16bace927..1794468376 100755 --- a/devtools/checkpatches.sh +++ b/devtools/checkpatches.sh @@ -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"