summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-06-04 00:17:34 +0300
committerJakub Kicinski <kuba@kernel.org>2026-06-09 03:23:24 +0300
commit8084fc9292c2b9b148c9d19d50710c488652214c (patch)
treedd865688a5a578a5ad03da58d1dfb3a05c3c2136 /include/linux/stackprotector.h
parent6443f4f20bdae726fe01cf5946fba9742a0ffda6 (diff)
downloadlinux-8084fc9292c2b9b148c9d19d50710c488652214c.tar.xz
net: ibm: emac: mal: fix unchecked platform_get_irq return values
platform_get_irq() returns a negative errno on failure. Commit c4f5d0454cab5 moved the platform_get_irq() calls and explicitly removed the error checks that were previously present, claiming devm_request_irq() can handle it. However, a negative IRQ number passed to devm_request_irq() fails with -EINVAL instead of propagating the real error from platform_get_irq(). Restore the missing error checks with proper errno propagation. Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260603211734.30750-1-rosenp@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions