# Re: \[PATCH v7 4/4\] i2c: thunderx: Use pcim\_alloc\_irq\_vectors() to allocate IRQ vectors

- From: Wolfram Sang \<wsa@kernel.org\>
- Date: 2021-11-29 23:00:17 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/11/1590583
- Thread: https://ratatoskr.run/linux-doc/2021/06/1405100/t.md

```text
On Mon, Jun 07, 2021 at 11:39:16PM +0800, Dejin Zheng wrote:
> The pcim_alloc_irq_vectors() function, an explicit device-managed version
> of pci_alloc_irq_vectors(). If pcim_enable_device() has been called
> before, then pci_alloc_irq_vectors() is actually a device-managed
> function. It is used here as a device-managed function, So replace it
> with pcim_alloc_irq_vectors().
> 
> Acked-by: Robert Richter <rric@kernel.org>
> Signed-off-by: Dejin Zheng <redacted>

Acked-by: Wolfram Sang <wsa@kernel.org> # for I2C

```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-doc/2021/11/1590583/attachment/0) (application/pgp-signature, 833 bytes)
