Re: [PATCH] net: stmmac: loongson1: Use dev_err_probe()
From: Jakub Kicinski
Date: Wed Jun 17 2026 - 18:08:11 EST
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?