aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorZhang Shurong <[email protected]>2023-08-26 18:02:54 +0800
committerMark Brown <[email protected]>2023-09-11 01:32:20 +0100
commiteb9913b511f10968a02cfa5329a896855dd152a3 (patch)
treee7cae77701689fa29c3846322fd1f5e327afb3fc /tools/perf/util/trace-event-scripting.c
parent2d98bdad98aec8238a21712c22d97ff53f290c55 (diff)
spi: tegra: Fix missing IRQ check in tegra_slink_probe()
This func misses checking for platform_get_irq()'s call and may passes the negative error codes to request_irq(), which takes unsigned IRQ #, causing it to fail with -EINVAL, overriding an original error code. Fix this by stop calling request_irq() with invalid IRQ #s. Fixes: dc4dc3605639 ("spi: tegra: add spi driver for SLINK controller") Signed-off-by: Zhang Shurong <[email protected]> Reviewed-by: Helen Koike <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions