diff options
author | Alexandru Tachici <alexandru.andrei.tachici@gmail.com> | 2022-09-22 09:30:49 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-22 17:22:11 +0300 |
commit | 2b9977470b39e011ee5fbc01ca55411a7768fb9d (patch) | |
tree | 9a08d178fb9fbb5aa1dc8b659116b705851a467d /drivers/net/ethernet/marvell/prestera/prestera_main.c | |
parent | 377c17c6757ccf43e97f681a6ac5163d3735ab0a (diff) | |
download | linux-2b9977470b39e011ee5fbc01ca55411a7768fb9d.tar.xz |
net: ethernet: adi: Fix invalid parent name length
MII_BUS_ID_SIZE is larger than MAX_PHYS_ITEM_ID_LEN
so we use the former here to set the parent port id.
Fixes: bc93e19d088b ("net: ethernet: adi: Add ADIN1110 support")
Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com>
Link: https://lore.kernel.org/r/20220922063049.10388-1-alexandru.tachici@analog.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/marvell/prestera/prestera_main.c')
0 files changed, 0 insertions, 0 deletions