diff options
author | 2022-09-08 13:55:13 +0000 | |
---|---|---|
committer | 2022-09-16 12:13:00 +0100 | |
commit | ec3f06b542a960806a81345042e4eee3f8c5dec4 (patch) | |
tree | d411c32eb7b924ea618cd46695a7b5a75997bca9 /drivers/net/dsa/microchip/ksz_common.c | |
parent | mellanox/mlxsw: fix repeated words in comments (diff) | |
download | linux-dev-ec3f06b542a960806a81345042e4eee3f8c5dec4.tar.xz linux-dev-ec3f06b542a960806a81345042e4eee3f8c5dec4.zip |
net: fs_enet: Fix wrong check in do_pd_setup
Should check of_iomap return value 'fep->fec.fecp' instead of 'fep->fcc.fccp'
Fixes: 976de6a8c304 ("fs_enet: Be an of_platform device when CONFIG_PPC_CPM_NEW_BINDING is set.")
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions