Re: [PATCH] i2c: thunderx: Fix an issue about missing call to 'pci_free_irq_vectors()'

From: Robert Richter
Date: Thu Feb 18 2021 - 05:49:01 EST


On 14.02.21 22:37:34, Dejin Zheng wrote:
> Call to 'pci_free_irq_vectors()' are missing both in the error handling
> path of the probe function, and in the remove function. So add them.
>
> Fixes: 4c21541d8da17fb ("i2c: thunderx: Replace pci_enable_msix()")
> Signed-off-by: Dejin Zheng <zhengdejin5@xxxxxxxxx>

This is already taken care of in pcim_release() as the device is
managed (pcim_enable_device()). Your change is not required.

-Robert