|WARNING| pw158354 [PATCH v3 01/44] net/nfp: fix use after free
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Nov 3 17:51:31 CET 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/158354
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'var' - possible side-effects?
#116: FILE: drivers/net/nfp/nfp_mtr.c:16:
+#define LIST_FOREACH_SAFE(var, head, field, tvar) \
+ for ((var) = LIST_FIRST((head)); \
+ (var) && ((tvar) = LIST_NEXT((var), field), 1); \
+ (var) = (tvar))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'tvar' - possible side-effects?
#116: FILE: drivers/net/nfp/nfp_mtr.c:16:
+#define LIST_FOREACH_SAFE(var, head, field, tvar) \
+ for ((var) = LIST_FIRST((head)); \
+ (var) && ((tvar) = LIST_NEXT((var), field), 1); \
+ (var) = (tvar))
total: 0 errors, 0 warnings, 2 checks, 46 lines checked
More information about the test-report
mailing list