Hi Andrew,
No, I don't have this hardware. My report was based on reading the
MIIM polling code. I also missed the contract
on the other side: the generic MII callers use the result of
mdio_read() as register data, not as an errno.
Changing the driver's return path alone doesn't make that safe.
I'll drop this version.
Thanks,
Pengpeng
Re: [PATCH] net: pch_gbe: return errors from MIIM accesses
- From
- peng…@iscas.ac.cn (Pengpeng Hou)
- Organization
- Usenet Network
- Message-ID
- <2026…@iscas.ac.cn>
- Date
- Newsgroups
- linux.kernel.netdev