summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorEliav Farber <farbere@amazon.com>2026-10-11 05:04:41 +0000
committerThomas Gleixner <tglx@kernel.org>2026-10-15 14:25:06 +0200
commite86459748d3119e18faee281408f5452865bfea4 (patch)
tree171d7a87a83c3115b9223534fbee052c890c38ca /include/linux
parentad38b8836a828042262532c8f77659820be01d3d (diff)
irqchip/al-fic: Use %pe to print init error
al_fic_init_dt() logs PTR_ERR(fic) with %lu when al_fic_wire_init() fails. PTR_ERR() returns a signed long, so printing it with an unsigned format specifier turns a negative error code into a large positive value, making it harder to read. Pass fic to %pe directly instead of unwrapping it with PTR_ERR() first. %pe accepts the ERR_PTR-encoded pointer itself and prints a symbolic error name (e.g. -EINVAL) when one is known, falling back to the plain decimal value otherwise. Signed-off-by: Eliav Farber <farbere@amazon.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Reviewed-by: Radu Rendec <radu@rendec.net> Link: https://patch.msgid.link/20261011050449.41903-3-farbere@amazon.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions