automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw122538 [PATCH V5 01/11] pipeline: add IPsec support
       [not found] <20230126133427.379941-2-cristian.dumitrescu@intel.com>
@ 2023-01-26 13:36 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-01-26 13:36 UTC (permalink / raw)
  To: test-report; +Cc: Cristian Dumitrescu

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

_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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-26 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230126133427.379941-2-cristian.dumitrescu@intel.com>
2023-01-26 13:36 ` |WARNING| pw122538 [PATCH V5 01/11] pipeline: add IPsec support checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).