diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-08-10 15:26:05 +0700 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-08-10 09:00:05 -0700 |
| commit | 3bbbeb7fddf54a7d7116b2defe0a63a9b583c84e (patch) | |
| tree | 865cd0dd65ca4e2702187414f5a1d015b6c3834e /tools/perf/scripts/python/flamegraph.py | |
| parent | 2bab791e56d977b9e4676ef284c00a11a272d61c (diff) | |
watchdog: orion_wdt: 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.
Propagate errors such as -EPROBE_DEFER and -EINVAL instead of continuing
probe without the IRQ.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://lore.kernel.org/r/20260810082606.42623-1-phucduc.bui@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
