* [DPDK/core Bug 1743] malloc: duplicate shadowed variable definition
@ 2025-07-03 17:06 bugzilla
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2025-07-03 17:06 UTC (permalink / raw)
To: dev
[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1743
Bug ID: 1743
Summary: malloc: duplicate shadowed variable definition
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: core
Assignee: dev@dpdk.org
Reporter: stephen@networkplumber.org
Target Milestone: ---
Building with -Wshadow reports:
[51/3418] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
../lib/eal/common/malloc_heap.c: In function ‘malloc_heap_free’:
../lib/eal/common/malloc_heap.c:1047:23: warning: declaration of ‘aligned_end’
shadows a previous local [-Wshadow]
1047 | void *aligned_end = RTE_PTR_ADD(aligned_start,
aligned_len);
| ^~~~~~~~~~~
../lib/eal/common/malloc_heap.c:862:45: note: shadowed declaration is here
862 | void *start, *aligned_start, *end, *aligned_end;
| ^~~~~~~~~~~
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 3063 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [DPDK/core Bug 1743] malloc: duplicate shadowed variable definition
[not found] <bug-1743-3@http.bugs.dpdk.org/>
@ 2026-01-20 8:03 ` bugzilla
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2026-01-20 8:03 UTC (permalink / raw)
To: dev
http://bugs.dpdk.org/show_bug.cgi?id=1743
David Marchand (david.marchand@redhat.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
CC| |david.marchand@redhat.com
--- Comment #1 from David Marchand (david.marchand@redhat.com) ---
Fixed in 68c2dde1d441 ("eal: fix variable shadowing").
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-20 8:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <bug-1743-3@http.bugs.dpdk.org/>
2026-01-20 8:03 ` [DPDK/core Bug 1743] malloc: duplicate shadowed variable definition bugzilla
2025-07-03 17:06 bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox