automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw26390 [PATCH v2 05/40] bus/dpaa: introducing FMan configurations
       [not found] <1499179471-19145-6-git-send-email-shreyansh.jain@nxp.com>
@ 2017-07-05  0:10 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-07-05  0:10 UTC (permalink / raw)
  To: test-report; +Cc: Shreyansh Jain

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#1226: FILE: drivers/bus/dpaa/include/fman.h:416:
+#define ETH_MAC_PRINTF_ARGS(a) \
+		(a)->addr_bytes[0], (a)->addr_bytes[1], \
+		(a)->addr_bytes[2], (a)->addr_bytes[3], \
+		(a)->addr_bytes[4], (a)->addr_bytes[5]

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#1243: FILE: drivers/bus/dpaa/include/fman.h:433:
+#define FMAN_ERR(cond, rc, fmt, args...) \
+	do { \
+		if (unlikely(cond)) { \
+			_errno = (rc); \
+			DPAA_BUS_LOG(ERR, fmt "(%d)", ##args, errno); \
+			goto err; \
+		} \
+	} while (0)

total: 1 errors, 1 warnings, 1321 lines checked

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

only message in thread, other threads:[~2017-07-05  0:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1499179471-19145-6-git-send-email-shreyansh.jain@nxp.com>
2017-07-05  0:10 ` [dpdk-test-report] |WARNING| pw26390 [PATCH v2 05/40] bus/dpaa: introducing FMan configurations 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).