Re: [PATCH RFC net-next v4 3/4] net: mdio: add unlocked mdiodev C45 bus accessors
From: Russell King (Oracle)
Date: Mon Feb 02 2026 - 06:07:59 EST
On Tue, Jan 06, 2026 at 10:36:09PM +0000, Daniel Golle wrote:
> On Tue, Jan 06, 2026 at 05:53:29PM +0000, Russell King (Oracle) wrote:
> > On Tue, Jan 06, 2026 at 05:14:57PM +0000, Daniel Golle wrote:
> > > +static inline int __mdiodev_c45_write(struct mdio_device *mdiodev, u32 devad,
> > > + u16 regnum, u16 val)
> > > +{
> > > + return __mdiobus_c45_write(mdiodev->bus, mdiodev->addr, devad, regnum,
> > > + val);
> >
> > Something doesn't look right here - missing a couple of spaces to
> > correctly align? I suspect checkpatch would spot it?
>
> Somehow those two spaces got dropped somewhere on the way. Strangely
> neither checkpatch.pl locally nor on patchwork[1] caught that -- maybe
> because 'return' statements are somehow treated differently?
>
> Anyway, fixed in my local tree now and going to be fixed in v5.
>
> Are you otherwise fine with adding those unlocked mdiodev c45 helpers?
Yes.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!