[dpdk-test-report] |WARNING| pw78387 [PATCH v2 55/60] common/sfc_efx/base: add 256bit type

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Sep 22 11:47:15 CEST 2020


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#198: FILE: drivers/common/sfc_efx/base/efx_types.h:360:
+#define	EFX_XWORD_VAL(_xword)					\
+	((unsigned int)__LE_TO_CPU_32((_xword).ex_u32[7])),	\
+	((unsigned int)__LE_TO_CPU_32((_xword).ex_u32[6])),	\
+	((unsigned int)__LE_TO_CPU_32((_xword).ex_u32[5])),	\
+	((unsigned int)__LE_TO_CPU_32((_xword).ex_u32[4])),	\
+	((unsigned int)__LE_TO_CPU_32((_xword).ex_u32[3])),	\
+	((unsigned int)__LE_TO_CPU_32((_xword).ex_u32[2])),	\
+	((unsigned int)__LE_TO_CPU_32((_xword).ex_u32[1])),	\
+	((unsigned int)__LE_TO_CPU_32((_xword).ex_u32[0]))

total: 1 errors, 0 warnings, 728 lines checked


More information about the test-report mailing list