* |WARNING| pw149196 [PATCH v2 12/14] drivers/net: use portable variadic macros
[not found] <1733954844-24397-13-git-send-email-andremue@linux.microsoft.com>
@ 2024-12-11 22:10 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-12-11 22:10 UTC (permalink / raw)
To: test-report; +Cc: Andre Muezerie
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
^ permalink raw reply [flat|nested] only message in thread