Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

amd-xgbe: do not select NET_SELFTESTS when INET is disabled

AMD_XGBE currently selects NET_SELFTESTS unconditionally. Since select
does not honor dependencies, this can force-enable NET_SELFTESTS even
when INET is disabled (e.g. INET=n randconfig builds).

Fixes build issue when INET is disabled.

Fixes: 862a64c83faf ("amd-xgbe: introduce support ethtool selftest")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602030920.SWN7cwzT-lkp@intel.com/
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Link: https://patch.msgid.link/20260204150020.883639-1-Raju.Rangoju@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Raju Rangoju and committed by
Jakub Kicinski
ee924152 11a7d5c1

+1 -1
+1 -1
drivers/net/ethernet/amd/Kconfig
··· 165 165 select CRC32 166 166 select PHYLIB 167 167 select AMD_XGBE_HAVE_ECC if X86 168 - select NET_SELFTESTS 168 + imply NET_SELFTESTS 169 169 help 170 170 This driver supports the AMD 10GbE Ethernet device found on an 171 171 AMD SoC.