[PATCH] net: stmmac: loongson1: Use dev_err_probe()

Jakub Kicinski kuba at kernel.org
Wed Jun 17 13:54:07 PDT 2026


On Tue, 16 Jun 2026 16:42:18 -0700 Jacob Keller wrote:
> I'd probably also argue this may go against the desired goals of
> net-next with only wanting such cleanups when in the context of other
> larger work. Of course that decision ultimately belongs to the maintainers.

Yes, feeding const EINVAL into dev_err_probe() is pretty pointless
so if this helps it's just by "saving" 2 LoC. I'm not sure it's worth
it even in context of larger work, let along by itself.
-- 
pw-bot: reject



More information about the linux-arm-kernel mailing list