Skip to content

Commit ee92415

Browse files
RajuRangojukuba-moo
authored andcommitted
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: 862a64c ("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>
1 parent 11a7d5c commit ee92415

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/ethernet/amd/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ config AMD_XGBE
165165
select CRC32
166166
select PHYLIB
167167
select AMD_XGBE_HAVE_ECC if X86
168-
select NET_SELFTESTS
168+
imply NET_SELFTESTS
169169
help
170170
This driver supports the AMD 10GbE Ethernet device found on an
171171
AMD SoC.

0 commit comments

Comments
 (0)