Re: [PATCH net] net: mdio-mux: fix C45 access returning -EIO after API change

From: Vladimir Oltean
Date: Tue Oct 17 2023 - 09:57:40 EST


On Tue, Oct 17, 2023 at 02:31:30PM +0100, Russell King (Oracle) wrote:
> What if the parent bus doesn't have read_c45 or write_c45 ?

Good question. Predictably, the kernel crashes.

> Maybe make these conditional on the parent bus implementing the c45
> read/write ops?

I can do that, and send a v2 right away. Thanks for the hint.