[dpdk-test-report] |WARNING| pw74843 [PATCH v4] net/ice: fix GTPU down/uplink and extension conflict

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jul 27 11:43:18 CEST 2020


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#592: FILE: drivers/net/ice/ice_ethdev.h:361:
+#define ICE_HASH_CFG_VALID(p)		\
+	((p)->hash_fld != 0 && (p)->pkt_hdr != 0)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#595: FILE: drivers/net/ice/ice_ethdev.h:364:
+#define ICE_HASH_CFG_RESET(p) do {	\
+	(p)->hash_fld = 0;		\
+	(p)->pkt_hdr = 0;		\
+} while (0)

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


More information about the test-report mailing list