[dpdk-test-report] |WARNING| pw52102 [PATCH v3 06/14] drivers/net/ipn3ke: add IPN3KE Flow of PMD driver

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Apr 2 15:58:03 CEST 2019


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse '_x' - possible side-effects?
#1079: FILE: drivers/net/ipn3ke/ipn3ke_flow.c:989:
+#define	__SWAP16(_x)				\
+	((((_x) & 0xff) << 8) |			\
+	(((_x) >> 8) & 0xff))

CHECK:MACRO_ARG_REUSE: Macro argument reuse '_x' - possible side-effects?
#1083: FILE: drivers/net/ipn3ke/ipn3ke_flow.c:993:
+#define	__SWAP32(_x)				\
+	((__SWAP16((_x) & 0xffff) << 16) |	\
+	__SWAP16(((_x) >> 16) & 0xffff))

total: 0 errors, 0 warnings, 2 checks, 1545 lines checked


More information about the test-report mailing list