Acked-by: Chengwen Feng <[email protected]> On 11/7/2025 11:49 PM, Bruce Richardson wrote: > Fix a range of variable shadowing issues flagged by -Wshadow: > > * In tracing code, rename local variables to remove shadowing in the > code. The file-level variable "trace" is kept as-is, but the shorter > name "t" is used for function-local vars. > * In options code, rename the "args" variable to "out_args" in the > telemetry callback, to fix shadowing issues there. > * In malloc code, remove the redefinition of aligned_end, and just use > the already-defined local variable in the last block of code in the > function. > > Bugzilla ID: 1742 > Bugzilla ID: 1743 > Fixes: 29d985cad8db ("trace: implement memory allocation") > Fixes: f330b01df996 ("eal: define the parameters in argparse format") > Fixes: 4d8bdd8b56a1 ("malloc: fix ASan handling for unmapped memory") > Cc: [email protected] > > Signed-off-by: Bruce Richardson <[email protected]>
- [RFC PATCH 14/19] net/e1000: fix build with shadow warnin... Bruce Richardson
- [RFC PATCH 15/19] net/i40e: fix build with shadow warning... Bruce Richardson
- [RFC PATCH 16/19] net/ice: fix build with shadow warnings... Bruce Richardson
- [RFC PATCH 17/19] net/cpfl: fix build with shadow warning... Bruce Richardson
- [RFC PATCH 18/19] net/ixgbe: fix build with shadow warnin... Bruce Richardson
- [RFC PATCH 19/19] app/test-pmd: fix build with shadow war... Bruce Richardson
- [RFC PATCH v2 00/33] build DPDK with -Wshadow Bruce Richardson
- [RFC PATCH v2 01/33] eal: add more min/max helpers Bruce Richardson
- Re: [RFC PATCH v2 01/33] eal: add more min/max h... fengchengwen
- [RFC PATCH v2 02/33] eal: fix variable shadowing Bruce Richardson
- Re: [RFC PATCH v2 02/33] eal: fix variable shado... fengchengwen
- [RFC PATCH v2 03/33] ethdev: fix variable shadowing ... Bruce Richardson
- Re: [RFC PATCH v2 03/33] ethdev: fix variable sh... Andrew Rybchenko
- Re: [RFC PATCH v2 03/33] ethdev: fix variable sh... fengchengwen
- [RFC PATCH v2 04/33] eventdev: fix variable shadowin... Bruce Richardson
- [RFC PATCH v2 05/33] net: remove shadowed variable Bruce Richardson
- [RFC PATCH v2 06/33] pipeline: fix variable shadowin... Bruce Richardson
- [RFC PATCH v2 07/33] table: fix issues with variable... Bruce Richardson
- [RFC PATCH v2 08/33] power: rename variable to elimi... Bruce Richardson
- [RFC PATCH v2 09/33] pcapng: rename variable to fix ... Bruce Richardson
- [RFC PATCH v2 10/33] telemetry: make socket handler ... Bruce Richardson

