[dpdk-test-report] |WARNING| pw86157 [PATCH v3 1/6] net/bnxt: add support for 58818 chip family

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jan 8 06:14:25 CET 2021


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'db' - possible side-effects?
#199: 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?
#201: 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?
#201: 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


More information about the test-report mailing list