summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-08-24 17:09:01 +0700
committerPaolo Abeni <pabeni@redhat.com>2026-08-27 10:00:14 +0200
commit991c2be78257cba5bf53cf935fe70f8836964288 (patch)
treea4468bb76e33cc5f2d03d55c247d3f88e5e0d364 /tools/perf/scripts/python
parentf967455fb2a5a2079b9eb5823e9ccf359174bf9f (diff)
downloadlinux-991c2be78257cba5bf53cf935fe70f8836964288.tar.gz
linux-991c2be78257cba5bf53cf935fe70f8836964288.zip
net: ethernet: sun4i-emac: Fix IRQ error handling
irq_of_parse_and_map() returns 0 when parsing or mapping an IRQ fails. The current code checks for -ENXIO and therefore does not detect the failure. Check for a zero return value and convert it to -ENXIO. Fixes: 492205050d77 ("net: Add EMAC ethernet driver found on Allwinner A10 SoC's") Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Link: https://patch.msgid.link/20260824100901.31675-1-phucduc.bui@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions