aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMa Ke <make24@iscas.ac.cn>2024-07-24 16:40:47 +0800
committerMark Brown <broonie@kernel.org>2024-07-29 01:23:23 +0100
commit0f245463b01ea254ae90e1d0389e90b0e7d8dc75 (patch)
tree3834bf0daf4ae14b8681297ce13380f639c941b5 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentspi: dt-bindings: mediatek,spi-mt65xx: add compatible for MT7981 (diff)
downloadwireguard-linux-0f245463b01ea254ae90e1d0389e90b0e7d8dc75.tar.xz
wireguard-linux-0f245463b01ea254ae90e1d0389e90b0e7d8dc75.zip
spi: ppc4xx: handle irq_of_parse_and_map() errors
Zero and negative number is not a valid IRQ for in-kernel code and the irq_of_parse_and_map() function returns zero on error. So this check for valid IRQs should only accept values > 0. Fixes: 44dab88e7cc9 ("spi: add spi_ppc4xx driver") Signed-off-by: Ma Ke <make24@iscas.ac.cn> Link: https://patch.msgid.link/20240724084047.1506084-1-make24@iscas.ac.cn Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions