[dpdk-dev] [PATCH 1/2] scripts: add checkpatch wrapper
Stephen Hemminger
stephen at networkplumber.org
Fri Oct 23 18:03:25 CEST 2015
On Fri, 23 Oct 2015 17:53:25 +0200
Thomas Monjalon <thomas.monjalon at 6wind.com> wrote:
> +
> +# override default Linux options
> +options="$options --max-line-length=$length"
> +options="$options --show-types"
> +options="$options --ignore=LINUX_VERSION_CODE,FILE_PATH_CHANGES,\
> +VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,PREFER_KERNEL_TYPES,\
> +SPLIT_STRING,LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\
> +NEW_TYPEDEFS,COMPLEX_MACRO,COMPARISON_TO_NULL"
Please keep some of these:
PARENTHESIS_ALIGNMENT
LINUX_VERSION_CODE
COMPLEX_MACRO
All of these are indications of problems in code.
More information about the dev
mailing list