[PATCH net-next v2 08/13] net: mdio: mux-mmioreg: Simplified with dev_err_probe()
Andrew Lunn
andrew at lunn.ch
Thu Aug 29 05:38:58 PDT 2024
> >> + if ((u32)reg & ~s->mask)
> >> + return dev_err_probe(&pdev->dev, -ENODEV,
> >> + "mdio-mux child node %pOF has a 'reg' value with unmasked bits\n",
> > I'd align these super long ones as.
> > "mdio-mux child node %pOF has a 'reg' value with unmasked bits\n",
> > It is ugly but then so are > 100 char lines.
>
> It seems that this kind string > 100 char is fine for patch check script.
Strings like this can ignore the 80 char limit because developers are
going to grep for it when it shows up in their kernel log. If it gets
broken in odd places, grep will not find it.
I would also say the indentation is correct as is, level with &pdev.
Andrew
More information about the linux-arm-kernel
mailing list