[dpdk-test-report] |WARNING| pw62963 [PATCH v2 2/6] net/bnxt: cap queue count for NS3/Stingray devices

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Nov 13 16:09:22 CET 2019


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'bp' - possible side-effects?
#84: FILE: drivers/net/bnxt/bnxt.h:612:
+#define BNXT_MAX_RINGS(bp) \
+	(BNXT_STINGRAY(bp) ? RTE_MIN(RTE_MIN(bp->max_rx_rings, \
+					     MAX_STINGRAY_RINGS), \
+				     bp->max_stat_ctx) : \
+				RTE_MIN(bp->max_rx_rings, bp->max_stat_ctx))

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


More information about the test-report mailing list