# Re: \[PATCH 1/3\] perf/arm\_pmu\_platform: Use dev\_err\_probe() for IRQ errors

- From: Will Deacon \<will@kernel.org\>
- Date: 2021-03-30 11:19:56 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/03/8805594
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/03/8805530/t.md

```text
On Fri, 26 Mar 2021 16:02:40 +0000, Robin Murphy wrote:
> By virtue of using platform_irq_get_optional() under the covers,
> platform_irq_count() needs the target interrupt controller to be
> available and may return -EPROBE_DEFER if it isn't. Let's use
> dev_err_probe() to avoid a spurious error log (and help debug any
> deferral issues) in that case.

Applied to will (for-next/perf), thanks!

[1/3] perf/arm_pmu_platform: Use dev_err_probe() for IRQ errors
      https://git.kernel.org/will/c/11fa1dc8020a
[2/3] perf/arm_pmu_platform: Fix error handling
      https://git.kernel.org/will/c/e338cb6bef25
[3/3] perf/arm_pmu_platform: Clean up with dev_printk
      https://git.kernel.org/will/c/e20ac6c54a93

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
