* [dpdk-test-report] |WARNING| pw85933 [PATCH v2 1/6] net/bnxt: add support for 58818 chip family
[not found] <20210103034627.80169-2-ajit.khaparde@broadcom.com>
@ 2021-01-03 3:48 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-01-03 3:48 UTC (permalink / raw)
To: test-report; +Cc: Ajit Khaparde
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/85933
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'db' - possible side-effects?
#197: FILE: drivers/net/bnxt/bnxt_cpr.h:88:
+#define DB_EPOCH(db, idx) (((idx) & (db)->db_epoch_mask) << \
+ ((db)->db_epoch_shift))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'db' - possible side-effects?
#199: FILE: drivers/net/bnxt/bnxt_cpr.h:90:
+#define DB_RING_IDX(db, idx) (((idx) & (db)->db_ring_mask) | \
+ DB_EPOCH(db, idx))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'idx' - possible side-effects?
#199: FILE: drivers/net/bnxt/bnxt_cpr.h:90:
+#define DB_RING_IDX(db, idx) (((idx) & (db)->db_ring_mask) | \
+ DB_EPOCH(db, idx))
total: 0 errors, 0 warnings, 3 checks, 156 lines checked
^ permalink raw reply [flat|nested] only message in thread