On 20.12.2023 22:46, Stewart Hildebrand wrote:
> From: Volodymyr Babchuk <[email protected]>
> 
> Previously pci_enable_msi() function obtained pdev pointer by itself,
> but taking into account upcoming changes to PCI locking, it is better
> when caller passes already acquired pdev pointer to the function,
> because caller knows better how to obtain the pointer and which locks
> are needed to be used. Also, in most cases caller already has pointer
> to pdev, so we can avoid an extra list walk.
> 
> Signed-off-by: Volodymyr Babchuk <[email protected]>
> Signed-off-by: Stewart Hildebrand <[email protected]>
> Reviewed-by: Stefano Stabellini <[email protected]>

Reviewed-by: Jan Beulich <[email protected]>



Reply via email to