automatic DPDK test reports
 help / color / mirror / Atom feed
* |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

only message in thread, other threads:[~2024-12-19 22:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20241219225253.782792-5-stephen@networkplumber.org>
2024-12-19 22:53 ` |WARNING| pw149323 [PATCH v2 4/5] net/qede: fix use after free checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).