Building with -Wshadow flags sever=
al potential bugs in bonding:
[963/3418] Compiling C object
drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
../drivers/net/bonding/rte_eth_bond_pmd.c: In function =E2=80=98member_star=
t=E2=80=99:
../drivers/net/bonding/rte_eth_bond_pmd.c:1910:42: warning: declaration of
=E2=80=98internals=E2=80=99 shadows a previous local [-Wshadow]
1910 | struct bond_dev_private *internals;
| ^~~~~~~~~
../drivers/net/bonding/rte_eth_bond_pmd.c:1828:34: note: shadowed declarati=
on
is here
1828 | struct bond_dev_private *internals =3D
bonding_eth_dev->data->dev_private;
| ^~~~~~~~~
../drivers/net/bonding/rte_eth_bond_pmd.c: In function
=E2=80=98bond_ethdev_allmulticast_disable=E2=80=99:
../drivers/net/bonding/rte_eth_bond_pmd.c:2914:34: warning: declaration of
=E2=80=98port_id=E2=80=99 shadows a previous local [-Wshadow]
2914 | uint16_t port_id =3D
internals->members[i].port_id;
| ^~~~~~~
../drivers/net/bonding/rte_eth_bond_pmd.c:2903:18: note: shadowed declarati=
on
is here
2903 | uint16_t port_id;
| ^~~~~~~
../drivers/net/bonding/rte_eth_bond_pmd.c: In function =E2=80=98bond_ethdev=
_configure=E2=80=99:
../drivers/net/bonding/rte_eth_bond_pmd.c:4111:26: warning: declaration of =
=E2=80=98i=E2=80=99
shadows a previous local [-Wshadow]
4111 | unsigned i;
| ^
../drivers/net/bonding/rte_eth_bond_pmd.c:3946:18: note: shadowed declarati=
on
is here
3946 | unsigned i, j;
|