]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: dsa: mt7530: return mt7530_setup_mdio & mt7531_setup_common on error
authorArınç ÜNAL <arinc.unal@arinc9.com>
Mon, 22 Apr 2024 07:15:15 +0000 (10:15 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Apr 2024 10:57:02 +0000 (11:57 +0100)
commit7bf06bcd946e8131acef4c210af32e3e8e1f8609
tree12c9748438f11de74800ddcdf05a07bbf3600107
parent377174c5760cd23322f23f999f8a104d8133a72a
net: dsa: mt7530: return mt7530_setup_mdio & mt7531_setup_common on error

The mt7530_setup_mdio() and mt7531_setup_common() functions should be
checked for errors. Return if the functions return a non-zero value.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mt7530.c