scripts: ignore const struct checks
checkpatch raise some false positives when run outside of the kernel tree. The script checkpatch.pl from the kernel checks a list of structs known to be const. It is obviously not relevant as DPDK has not such list. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
d10f08472e
commit
47ecf3a566
@ -42,7 +42,8 @@ options="--no-tree"
|
|||||||
options="$options --max-line-length=$length"
|
options="$options --max-line-length=$length"
|
||||||
options="$options --show-types"
|
options="$options --show-types"
|
||||||
options="$options --ignore=LINUX_VERSION_CODE,FILE_PATH_CHANGES,\
|
options="$options --ignore=LINUX_VERSION_CODE,FILE_PATH_CHANGES,\
|
||||||
VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,PREFER_KERNEL_TYPES,BIT_MACRO,\
|
VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,\
|
||||||
|
PREFER_KERNEL_TYPES,BIT_MACRO,CONST_STRUCT,\
|
||||||
SPLIT_STRING,LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\
|
SPLIT_STRING,LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\
|
||||||
NEW_TYPEDEFS,COMPARISON_TO_NULL"
|
NEW_TYPEDEFS,COMPARISON_TO_NULL"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user