[dpdk-test-report] |WARNING| pw60503 [PATCH v2 4/9] net/bnxt: add support for CoS classification

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Oct 4 05:50:06 CEST 2019


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#297: FILE: drivers/net/bnxt/bnxt_hwrm.h:55:
+#define GET_TX_QUEUE_INFO(x) \
+	bp->tx_cos_queue[x].id = resp->queue_id##x; \
+	bp->tx_cos_queue[x].profile =	\
+		resp->queue_id##x##_service_profile

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#302: FILE: drivers/net/bnxt/bnxt_hwrm.h:60:
+#define GET_RX_QUEUE_INFO(x) \
+	bp->rx_cos_queue[x].id = resp->queue_id##x; \
+	bp->rx_cos_queue[x].profile =	\
+		resp->queue_id##x##_service_profile

total: 0 errors, 0 warnings, 2 checks, 385 lines checked


More information about the test-report mailing list