|WARNING| pw121919 [PATCH V3 01/11] pipeline: add IPsec support
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Jan 12 16:53:42 CET 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/121919
_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
#1229: FILE: lib/pipeline/rte_swx_ipsec.c:1120:
+#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
#1543: FILE: lib/pipeline/rte_swx_ipsec.c:1434:
+ return &xform[0];
+ } else {
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#1986: FILE: lib/pipeline/rte_swx_ipsec.h:50:
+#include <stdio.h>
total: 0 errors, 4 warnings, 2234 lines checked
More information about the test-report
mailing list