* [dpdk-test-report] |WARNING| pw86327 [PATCH v4 1/6] net/bnxt: add support for 58818 chip family
[not found] <20210111174400.10606-2-ajit.khaparde@broadcom.com>
@ 2021-01-11 17:44 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-01-11 17:44 UTC (permalink / raw)
To: test-report; +Cc: Ajit Khaparde
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/86327
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'db' - possible side-effects?
#200: 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?
#202: 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?
#202: 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