automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw29834 [PATCH v3 01/12] lib/rte_security: add security library
       [not found] <20171006181151.4758-2-akhil.goyal@nxp.com>
@ 2017-10-06 18:14 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-10-06 18:14 UTC (permalink / raw)
  To: test-report; +Cc: Akhil Goyal

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#172: FILE: lib/librte_security/rte_security.c:68:
+#define RTE_SEC_VALID_ID_OR_ERR_RET(id, retval) do { \
+	if (!rte_security_is_valid_id(id)) { \
+		RTE_PMD_DEBUG_TRACE("Invalid sec_id=%d
", id); \
+		return retval; \
+	} \
+} while (0)

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#179: FILE: lib/librte_security/rte_security.c:75:
+#define RTE_SEC_VALID_ID_OR_RET(id) do { \
+	if (!rte_security_is_valid_id(id)) { \
+		RTE_PMD_DEBUG_TRACE("Invalid sec_id=%d
", id); \
+		return; \
+	} \
+} while (0)

total: 0 errors, 2 warnings, 1028 lines checked

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

only message in thread, other threads:[~2017-10-06 18:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20171006181151.4758-2-akhil.goyal@nxp.com>
2017-10-06 18:14 ` [dpdk-test-report] |WARNING| pw29834 [PATCH v3 01/12] lib/rte_security: add security library 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).