Skip to content

Commit 94ead4c

Browse files
ffainellikuba-moo
authored andcommitted
net: dsa: Fix dependencies with HSR
The core DSA framework uses hsr_is_master() which would not resolve to a valid symbol if HSR is built-into the kernel and DSA is a module. Fixes: 18596f5 ("net: dsa: add support for offloading HSR") Reported-by: kernel test robot <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> Reviewed-by: George McCollister <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Tested-by: Vladimir Oltean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 4e9d9d1 commit 94ead4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/dsa/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ menuconfig NET_DSA
99
tristate "Distributed Switch Architecture"
1010
depends on HAVE_NET_DSA
1111
depends on BRIDGE || BRIDGE=n
12+
depends on HSR || HSR=n
1213
select GRO_CELLS
1314
select NET_SWITCHDEV
1415
select PHYLINK

0 commit comments

Comments
 (0)