在 2025/10/21 2:41, Simon Horman 写道:
On Thu, Oct 16, 2025 at 08:03:20PM +0000, Zhu Yanjun wrote:
Make pr_xxx() call to use the %pe format specifier instead of %d.
The %pe specifier prints a symbolic error string (e.g., -ENOMEM,
-EINVAL) when given an error pointer created with ERR_PTR(err).
This change enhances the clarity and diagnostic value of the error
message by showing a descriptive error name rather than a numeric
error code.
Signed-off-by: Zhu Yanjun <[email protected]>
Thanks,
This looks good to me, even though I note that this file
has moved in linux-next.
Thanks a lot.
Yanjun.Zhu
Reviewed-by: Simon Horman <[email protected]>
--
Best Regards,
Yanjun.Zhu