From 7b6875ba6f37b32997d25e5e43ce62e99ca10597 Mon Sep 17 00:00:00 2001 From: Lance Richardson Date: Sat, 15 Feb 2020 12:09:50 -0500 Subject: [PATCH] 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 --- devtools/checkpatches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.20.1