automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw56484 [PATCH v2 06/15] net/bnxt: correctly set L4 checksum error for tunnel and non-tunnel packets
       [not found] <20190716092826.54276-7-ajit.khaparde@broadcom.com>
@ 2019-07-16  9:29 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-07-16  9:29 UTC (permalink / raw)
  To: test-report; +Cc: Ajit Khaparde

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'flags2_f' - possible side-effects?
#122: FILE: drivers/net/bnxt/bnxt_rxr.h:35:
+#define IS_IP_NONTUNNEL_PKT(flags2_f)	\
+	(	\
+	 ((flags2_f) == \
+	  (rte_cpu_to_le_32(RX_PKT_CMPL_FLAGS2_IP_CS_CALC))) ||	\
+	 ((flags2_f) ==	\
+	  (rte_cpu_to_le_32(RX_PKT_CMPL_FLAGS2_IP_CS_CALC | \
+			    RX_PKT_CMPL_FLAGS2_L4_CS_CALC))) \
+	)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'flags2_f' - possible side-effects?
#204: FILE: drivers/net/bnxt/bnxt_rxr.h:107:
+#define IS_L4_TUNNEL_PKT(flags2_f)	\
+	(	\
+		IS_L4_TUNNEL_PKT_INNER_OUTER_L4_CS(flags2_f) || \
+		IS_L4_TUNNEL_PKT_ONLY_INNER_L4_CS(flags2_f)	\
+	)

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-16  9:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190716092826.54276-7-ajit.khaparde@broadcom.com>
2019-07-16  9:29 ` [dpdk-test-report] |WARNING| pw56484 [PATCH v2 06/15] net/bnxt: correctly set L4 checksum error for tunnel and non-tunnel packets checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).