[dpdk-test-report] |WARNING| pw24758 [PATCH RFC 07/39] bus/dpaa: introducing FMan configurations

checkpatch at dpdk.org checkpatch at dpdk.org
Sat May 27 12:19:05 CEST 2017


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#1241: FILE: drivers/bus/dpaa/include/fman.h:434:
+#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: 0 errors, 1 warnings, 1319 lines checked


More information about the test-report mailing list