[dpdk-test-report] |WARNING| pw23795 [PATCH RFC 17.08] flow_classify: add librte_flow_classify library

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 20 20:55:35 CEST 2017


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/23795

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#294: FILE: lib/librte_flow_classify/rte_flow_classify.h:95:
+#define RTE_FLOW_CLASSIFY_TYPE_MASK = (((RTE_FLOW_CLASSIFY_TYPE_MAX - 1) << 1) - 1)

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#330: FILE: lib/librte_flow_classify/rte_flow_classify.h:131:
+/**
+* Get flow types to flow_classify

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#344: FILE: lib/librte_flow_classify/rte_flow_classify.h:145:
+/**
+* Set flow types to flow_classify

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#360: FILE: lib/librte_flow_classify/rte_flow_classify.h:161:
+/**
+* Disable flow classification for device

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#372: FILE: lib/librte_flow_classify/rte_flow_classify.h:173:
+/**
+* Get classified results

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#386: FILE: lib/librte_flow_classify/rte_flow_classify.h:187:
+/**
+* Reset classified results

total: 1 errors, 5 warnings, 336 lines checked


More information about the test-report mailing list