Re: [PATCH] net: dsa: add return value check of genphy_read_status()

From: Andrew Lunn
Date: Thu Mar 14 2024 - 09:02:15 EST


On Thu, Mar 14, 2024 at 09:30:08AM +0300, Alexandra Diupina wrote:
> Need to check return value of genphy_read_status(),
> because higher in the call hierarchy is the
> dsa_register_switch() function,
> which is used in various drivers.

I don't understand the commit message. Why is it important to
dsa_register_switch()?

Andrew