Re: [PATCH 4/5] devfreq: Use %pe to print error pointers symbolically
From: Krzysztof Kozlowski
Date: Sun Sep 06 2026 - 02:32:02 EST
On 06/09/2026 08:17, Sumeet Pawnikar wrote:
> ret = -EPROBE_DEFER;
> - dev_err(dev, "failed to add devfreq device: %ld\n",
> - PTR_ERR(drv->devfreq));
> + dev_err(dev, "failed to add devfreq device: %pe\n",
> + drv->devfreq);
Instead you should use dev_err_probe and drop the last argument.
Best regards,
Krzysztof