* |WARNING| pw149145 [PATCH 13/21] drivers/net: use portable variadic macros
[not found] <1733882751-29598-14-git-send-email-andremue@linux.microsoft.com>
@ 2024-12-11 2:09 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-12-11 2:09 UTC (permalink / raw)
To: test-report; +Cc: Andre Muezerie
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/149145
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'q' - possible side-effects?
#774: 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?
#785: 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, 579 lines checked
^ permalink raw reply [flat|nested] only message in thread