[dpdk-test-report] |WARNING| pw58924 [PATCH 1/1] net/bnxt: add support for CoS classification

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Sep 7 01:44:34 CEST 2019


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#227: 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?
#232: 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, 249 lines checked


More information about the test-report mailing list