automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw41993 [5/9] net/cxgbe: add support to delete flows in HASH region
       [not found] <1e3313333b23056d25704a7be31b34a410f85d59.1530295732.git.rahul.lakkireddy@chelsio.com>
@ 2018-06-29 18:14 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-06-29 18:14 UTC (permalink / raw)
  To: test-report; +Cc: Rahul Lakkireddy

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'w' - possible side-effects?
#508: FILE: drivers/net/cxgbe/cxgbe_ofld.h:22:
+#define INIT_TP_WR_MIT_CPL(w, cpl, tid) do { \
+	INIT_TP_WR(w, tid); \
+	OPCODE_TID(w) = cpu_to_be32(MK_OPCODE_TID(cpl, tid)); \
+} while (0)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'tid' - possible side-effects?
#508: FILE: drivers/net/cxgbe/cxgbe_ofld.h:22:
+#define INIT_TP_WR_MIT_CPL(w, cpl, tid) do { \
+	INIT_TP_WR(w, tid); \
+	OPCODE_TID(w) = cpu_to_be32(MK_OPCODE_TID(cpl, tid)); \
+} while (0)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'w' - possible side-effects?
#513: FILE: drivers/net/cxgbe/cxgbe_ofld.h:27:
+#define INIT_ULPTX_WR(w, wrlen, atomic, tid) do { \
+	(w)->wr.wr_hi = cpu_to_be32(V_FW_WR_OP(FW_ULPTX_WR) | \
+				    V_FW_WR_ATOMIC(atomic)); \
+	(w)->wr.wr_mid = cpu_to_be32(V_FW_WR_LEN16(DIV_ROUND_UP(wrlen, 16)) | \
+				     V_FW_WR_FLOWID(tid)); \
+	(w)->wr.wr_lo = cpu_to_be64(0); \
+} while (0)

total: 0 errors, 0 warnings, 3 checks, 452 lines checked

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

only message in thread, other threads:[~2018-06-29 18:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1e3313333b23056d25704a7be31b34a410f85d59.1530295732.git.rahul.lakkireddy@chelsio.com>
2018-06-29 18:14 ` [dpdk-test-report] |WARNING| pw41993 [5/9] net/cxgbe: add support to delete flows in HASH region 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).