diff options
author | 2022-10-06 07:24:03 +0200 | |
---|---|---|
committer | 2022-11-03 14:45:37 +0100 | |
commit | 8330b9ebf9ef10156b01d40176b9fff1ce2a374c (patch) | |
tree | f6111f1ecb9d0539610cf67c9529a887fc44c3b5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 6.1-rc3 (diff) | |
download | wireguard-linux-8330b9ebf9ef10156b01d40176b9fff1ce2a374c.tar.xz wireguard-linux-8330b9ebf9ef10156b01d40176b9fff1ce2a374c.zip |
iommu/fsl_pamu: Replace NO_IRQ by 0
NO_IRQ is used to check the return of irq_of_parse_and_map().
On some architecture NO_IRQ is 0, on other architectures it is -1.
irq_of_parse_and_map() returns 0 on error, independent of NO_IRQ.
So use 0 instead of using NO_IRQ.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/2a2570a8d12c80a7d36837b6c586daa708ca09d7.1665033732.git.christophe.leroy@csgroup.eu
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions