|WARNING| pw173116 [PATCH 2/2] net/bnxt: use extended ring stats on P5
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Nov 23 22:17:06 CET 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/173116
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'bp' - possible side-effects?
#188: FILE: drivers/net/bnxt/bnxt_hwrm.h:175:
+#define BNXT_TPA_V2_P5(bp) ((bp)->max_tpa_v2 && BNXT_CHIP_P5(bp))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'bp' - possible side-effects?
#192: FILE: drivers/net/bnxt/bnxt_hwrm.h:177:
+#define BNXT_HWRM_CTX_GET_SIZE(bp) \
+ (BNXT_TPA_V2_P7(bp) ? sizeof(struct ctx_hw_stats_ext) : \
+ BNXT_TPA_V2_P5(bp) ? (sizeof(struct ctx_hw_stats_ext) - sizeof(uint64_t)) : \
sizeof(struct ctx_hw_stats))
total: 0 errors, 0 warnings, 2 checks, 158 lines checked
More information about the test-report
mailing list