aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2019-09-25 20:43:46 +0200
committerJoerg Roedel <jroedel@suse.de>2019-10-15 12:45:16 +0200
commitf9258156c73c2b2aa96731cd78bc23c4c4aac83d (patch)
treee4452e62c0aa77e23d65b44859e91dd7f6c2d231 /scripts/gdb/linux/utils.py
parentMerge branch 'for-joerg/arm-smmu/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into iommu/fixes (diff)
downloadwireguard-linux-f9258156c73c2b2aa96731cd78bc23c4c4aac83d.tar.xz
wireguard-linux-f9258156c73c2b2aa96731cd78bc23c4c4aac83d.zip
iommu/rockchip: Don't use platform_get_irq to implicitly count irqs
Till now the Rockchip iommu driver walked through the irq list via platform_get_irq() until it encountered an ENXIO error. With the recent change to add a central error message, this always results in such an error for each iommu on probe and shutdown. To not confuse people, switch to platform_count_irqs() to get the actual number of interrupts before walking through them. Fixes: 7723f4c5ecdb ("driver core: platform: Add an error message to platform_get_irq*()") Signed-off-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions