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

Jakub Kicinski kuba at kernel.org
Wed Jun 17 15:07:44 PDT 2026


On Wed, 17 Jun 2026 14:26:25 -0700 Jacob Keller wrote:
> It does claim that it has benefit since you get the error code emitted
> symbolically. But we have %pe for that. I wonder if dev_err_probe
> predates %pe?

I'd argue

  No of match data provided: -EINVAL

is more confusing than just:

  No of match data provided

the EINVAL is meaningless and hardcoded in this case?



More information about the linux-arm-kernel mailing list