automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw60583 [PATCH v2 4/9] net/qede/base: rename HSI datatypes and funcs
       [not found] <20191006201409.8770-5-rmody@marvell.com>
@ 2019-10-06 20:15 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-10-06 20:15 UTC (permalink / raw)
  To: test-report; +Cc: Rasesh Mody

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'map' - possible side-effects?
#2958: FILE: drivers/net/qede/base/ecore_init_fw_funcs.c:163:
+#define QM_INIT_TX_PQ_MAP(p_hwfn, map, pq_id, vp_pq_id, \
+			   rl_valid, rl_id, voq, wrr) \
+	do { \
+		OSAL_MEMSET(&(map), 0, sizeof(map)); \
+		SET_FIELD(map.reg, QM_RF_PQ_MAP_PQ_VALID, 1); \
+		SET_FIELD(map.reg, QM_RF_PQ_MAP_RL_VALID, rl_valid ? 1 : 0); \
+		SET_FIELD(map.reg, QM_RF_PQ_MAP_RL_ID, rl_id); \
+		SET_FIELD(map.reg, QM_RF_PQ_MAP_VP_PQ_ID, vp_pq_id); \
+		SET_FIELD(map.reg, QM_RF_PQ_MAP_VOQ, voq); \
+		SET_FIELD(map.reg, QM_RF_PQ_MAP_WRR_WEIGHT_GROUP, wrr); \
+		STORE_RT_REG(p_hwfn, QM_REG_TXPQMAP_RT_OFFSET + (pq_id), \
+			     *((u32 *)&(map))); \
 	} while (0)

total: 0 errors, 0 warnings, 1 checks, 3177 lines checked

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

only message in thread, other threads:[~2019-10-06 20:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20191006201409.8770-5-rmody@marvell.com>
2019-10-06 20:15 ` [dpdk-test-report] |WARNING| pw60583 [PATCH v2 4/9] net/qede/base: rename HSI datatypes and funcs 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).