summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-08-13 12:34:02 +0700
committerUlf Hansson <ulfh@kernel.org>2026-09-08 17:26:32 +0200
commitb57cc4ec84a887e452ea2c7872a4eb13f03608e6 (patch)
tree4dce0910a28358e7e457d453e48039d6830ea8cb /tools/perf/scripts/python/netdev-times.py
parent534e7ff869b7b6d16ba2de90507da1bc86f82f0f (diff)
mmc: meson-gx: Handle 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 optional IRQ is available. Other errors, such as -EPROBE_DEFER and -EINVAL, should be propagated so that the caller can handle them appropriately. However, the driver currently stores the return value directly in cd_irq and continues probing. Propagate negative errors other than -ENXIO, and only assign the IRQ to cd_irq when a valid IRQ number is returned. Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions