|WARNING| pw149196 [PATCH v2 12/14] drivers/net: use portable variadic macros
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Dec 11 23:10:32 CET 2024
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/149196
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'q' - possible side-effects?
#724: FILE: drivers/net/qede/qede_logs.h:62:
+#define PMD_TX_LOG(level, q, fmt, ...) \
RTE_LOG(level, QEDE_DRIVER, "%s(): port=%u queue=%u " fmt "
", \
+ __func__, (q)->port_id, (q)->queue_id, ## __VA_ARGS__)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'q' - possible side-effects?
#735: FILE: drivers/net/qede/qede_logs.h:70:
+#define PMD_RX_LOG(level, q, fmt, ...) \
RTE_LOG(level, QEDE_DRIVER, "%s(): port=%u queue=%u " fmt "
", \
+ __func__, (q)->port_id, (q)->queue_id, ## __VA_ARGS__)
total: 0 errors, 0 warnings, 2 checks, 555 lines checked
More information about the test-report
mailing list