]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqchip/aslint-sswi: Fix error check of of_io_request_and_map() result
authorVladimir Kondratiev <vladimir.kondratiev@mobileye.com>
Sun, 18 Jan 2026 08:28:43 +0000 (10:28 +0200)
committerThomas Gleixner <tglx@kernel.org>
Sun, 18 Jan 2026 13:39:18 +0000 (14:39 +0100)
commita384f2ed886d4417d50fdad78aaf1ccf870d62e6
treedf006eaa28bcc32d7f2e850fa2fa44e3651577e4
parenta34d398c83a4a4bc00513c00f6eecc34267f834f
irqchip/aslint-sswi: Fix error check of of_io_request_and_map() result

of_io_request_and_map() returns IOMEM_ERR_PTR() on failure which is
non-NULL.

Fixes: 8a7f030df897 ("irqchip/aslint-sswi: Request IO memory resource")
Reported-by: Chris Mason <clm@meta.com>
Signed-off-by: Vladimir Kondratiev <vladimir.kondratiev@mobileye.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260118082843.2786630-1-vladimir.kondratiev@mobileye.com
Closes: https://lore.kernel.org/all/20260116124257.78357-1-clm@meta.com
drivers/irqchip/irq-aclint-sswi.c