On Mon, 16 Feb 2026 14:24:31 +0530 Ashok Kumar Natarajan <[email protected]> wrote:
> Added marvel m88e1512 1G PHY support in amd axgbe driver > > Signed-off-by: Ashok Kumar Natarajan <[email protected]> Multiple CI build failures. Fix and resubmit. FAILED: drivers/libtmp_rte_net_axgbe.a.p/net_axgbe_axgbe_phy_impl.c.o clang -Idrivers/libtmp_rte_net_axgbe.a.p -Idrivers -I../drivers -Idrivers/net/axgbe -I../drivers/net/axgbe -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-comma -Wno-cast-qual -Wno-shadow -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.axgbe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_axgbe.a.p/net_axgbe_axgbe_phy_impl.c.o -MF drivers/libtmp_rte_net_axgbe.a.p/net_axgbe_axgbe_phy_impl.c.o.d -o drivers/libtmp_rte_net_axgbe.a.p/net_axgbe_axgbe_phy_impl.c.o -c ../drivers/net/axgbe/axgbe_phy_impl.c ../drivers/net/axgbe/axgbe_phy_impl.c:2359:6: error: variable 'ret' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] 2359 | if (bmcr == -1) | ^~~~~~~~~~ ../drivers/net/axgbe/axgbe_phy_impl.c:2368:9: note: uninitialized use occurs here 2368 | return ret; | ^~~ ../drivers/net/axgbe/axgbe_phy_impl.c:2359:2: note: remove the 'if' if its condition is always false 2359 | if (bmcr == -1) | ^~~~~~~~~~~~~~~ 2360 | goto out; | ~~~~~~~~ ../drivers/net/axgbe/axgbe_phy_impl.c:2356:9: note: initialize the variable 'ret' to silence this warning 2356 | int ret; | ^ | = 0

