commit | c68350d7e9a020fdd5d9ff11dc9c6a09693ae9a3 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Sat Jan 25 13:17:57 2025 +0100 |
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | Wed Jan 29 22:52:24 2025 +0100 |
tree | 7cb9e65d142830a337c389d650a3b55c9285c8b6 | |
parent | 7a84a72d6f25cc7dcafeafbc3ebe7eac7ff0e9ef [diff] |
net: miiphybb: Fix short name length Multiple drivers copy the MDIO instance name from struct mii_phy to struct bb_miiphy_bus, but the name field in these two structs have different lengths, the bb_miiphy_bus one is 16 bytes, the source one is 32 bytes. Make sure these two lengths are always synchronized, use MDIO_NAME_LEN for both. Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>