aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/dts-5.10
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2021-05-08 17:28:58 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-09-26 00:32:18 +0200
commit2e676c05dccc7d5c5cf4ab118f479471be52194a (patch)
tree6fb3a2396869e0d8ff1e596ebd5a1d51bf587f0b /target/linux/realtek/dts-5.10
parent99a658cb71e474abf73ec77aa99b30b7eb2001a3 (diff)
downloadupstream-2e676c05dccc7d5c5cf4ab118f479471be52194a.tar.gz
upstream-2e676c05dccc7d5c5cf4ab118f479471be52194a.tar.bz2
upstream-2e676c05dccc7d5c5cf4ab118f479471be52194a.zip
realtek: fix kernel panic in DSA driver for 5.10
dsa_to_port function in 5.10 returns dsa_port from the port list in dsa_switch_tree, but the tree is built when the switch is registered by dsa_register_switch and it's null in rtl83xx_mdio_probe. So, we need to use dsa_to_port after the registration of the switch. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/realtek/dts-5.10')
0 files changed, 0 insertions, 0 deletions