[dpdk-test-report] |WARNING| pw29350 [PATCH v3 10/24] net/bnxt: update status of Rx IP/L4 CKSUM

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 28 16:15:37 CEST 2017


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'rxcmp1' - possible side-effects?
#58: FILE: drivers/net/bnxt/bnxt_rxr.h:59:
+#define RX_CMP_L4_CS_OK(rxcmp1)						\
+	    (((rxcmp1)->flags2 & RX_CMP_L4_CS_BITS) &&		\
+	     !((rxcmp1)->errors_v2 & RX_CMP_L4_CS_ERR_BITS))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'rxcmp1' - possible side-effects?
#66: FILE: drivers/net/bnxt/bnxt_rxr.h:67:
+#define RX_CMP_IP_CS_OK(rxcmp1)						\
+		(((rxcmp1)->flags2 & RX_CMP_IP_CS_BITS) &&	\
+		!((rxcmp1)->errors_v2 & RX_CMP_IP_CS_ERR_BITS))

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


More information about the test-report mailing list