* |WARNING| pw149323 [PATCH v2 4/5] net/qede: fix use after free
[not found] <20241219225253.782792-5-stephen@networkplumber.org>
@ 2024-12-19 22:53 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-12-19 22:53 UTC (permalink / raw)
To: test-report; +Cc: Stephen Hemminger
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/149323
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'var' - possible side-effects?
#116: FILE: drivers/net/qede/qede_filter.c:14:
+#define SLIST_FOREACH_SAFE(var, head, field, tvar) \
+ for ((var) = SLIST_FIRST((head)); \
+ (var) && ((tvar) = SLIST_NEXT((var), field), 1); \
+ (var) = (tvar))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'tvar' - possible side-effects?
#116: FILE: drivers/net/qede/qede_filter.c:14:
+#define SLIST_FOREACH_SAFE(var, head, field, tvar) \
+ for ((var) = SLIST_FIRST((head)); \
+ (var) && ((tvar) = SLIST_NEXT((var), field), 1); \
+ (var) = (tvar))
total: 0 errors, 0 warnings, 2 checks, 33 lines checked
^ permalink raw reply [flat|nested] only message in thread