[dpdk-test-report] |WARNING| pw40023 [PATCH v7 1/5] eal: add rte_uuid support

checkpatch at dpdk.org checkpatch at dpdk.org
Tue May 15 06:33:43 CEST 2018


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#80: FILE: lib/librte_eal/common/eal_common_uuid.c:19:
+#define DIFF_RETURN(a, b, field)	do {			\
+	if ((a)->field != (b)->field)				\
+		return (((a)->field < (b)->field) ? -1 : 1);	\
+} while (0)

total: 0 errors, 1 warnings, 277 lines checked


More information about the test-report mailing list