summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-08-07 15:16:51 +0700
committerGuenter Roeck <linux@roeck-us.net>2026-08-10 09:00:05 -0700
commitac4bf51d4dc5343793587bfa8dc91a9089c622f8 (patch)
treefcbf1317b2991859a3a6d477ca40c5cae1c14c52 /tools/perf/scripts/python/event_analyzing_sample.py
parent7528abb5154ad18d18315b80fded00eb903d35cc (diff)
watchdog: dw_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. 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/20260807081652.38692-3-phucduc.bui@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions