diff options
| author | 2026-08-10 17:51:01 +0700 | |
|---|---|---|
| committer | 2026-08-10 09:00:05 -0700 | |
| commit | 2bab791e56d977b9e4676ef284c00a11a272d61c (patch) | |
| tree | fc9509c7a61446bfae40260950965dc640454e88 /scripts/Makefile.thinlto | |
| parent | watchdog: aspeed: Propagate errors from optional IRQ lookup (diff) | |
watchdog: qcom: Propagate errors from optional IRQ lookup
platform_get_irq_optional() returns a positive IRQ number on success or
a negative error code on failure. For an optional IRQ, -ENXIO indicates
that no IRQ is available, while other errors should be propagated.
Instead of only checking for -EPROBE_DEFER, propagate all error codes
returned by platform_get_irq_optional() other than -ENXIO, so that
failures are properly reported to the caller.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://lore.kernel.org/r/20260810105101.55945-1-phucduc.bui@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
