|WARNING| pw121855 [PATCH V2 01/11] pipeline: add IPsec support
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Jan 12 00:46:42 CET 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/121855
_coding style issues_
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#114: FILE: lib/pipeline/rte_swx_ipsec.c:5:
+#include <stdio.h>
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#1247: FILE: lib/pipeline/rte_swx_ipsec.c:1138:
+#define CHECK(condition, msg) \
+do { \
+ if (!(condition)) { \
+ if (errmsg) \
+ *errmsg = msg; \
+ goto error; \
+ } \
+} while (0)
WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#1561: FILE: lib/pipeline/rte_swx_ipsec.c:1452:
+ return &xform[0];
+ } else {
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#2016: FILE: lib/pipeline/rte_swx_ipsec.h:50:
+#include <stdio.h>
total: 0 errors, 4 warnings, 2264 lines checked
More information about the test-report
mailing list