]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drivers/perf: Initialise return value in armpmu_request_irqs()
authorWill Deacon <will.deacon@arm.com>
Wed, 4 Jul 2018 10:50:50 +0000 (11:50 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 4 Jul 2018 10:50:50 +0000 (11:50 +0100)
commit59b62e7ad0874681dc4f84cac90cc991dc265809
tree8d5e44ce03a3d54e8c709c288a9f3a676041db2e
parent1201a5a25cf0f7d8019d106a81c64f3a7397d17c
drivers/perf: Initialise return value in armpmu_request_irqs()

If a PMU doesn't have any IRQs, we should return 0 from
armpmu_request_irqs(), rather than uninitialised stack.

Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/arm_pmu_platform.c