[dpdk-test-report] |WARNING| pw51917 [PATCH v2 06/15] drivers/net/ipn3ke: add IPN3KE Flow of PMD driver

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Mar 29 17:01:04 CET 2019


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse '_x' - possible side-effects?
#1077: 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?
#1081: 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