Subject: Re: [PATCH -next] net: txgbe: use pci_dev_id() helper

From: Simon Horman <[email-masked]>
Date: Tue, 27 Aug 2024 15:42:56 +0100

On Mon, Aug 26, 2024 at 09:21:00AM +0800, Yu Liao wrote:
> PCI core API pci_dev_id() can be used to get the BDF number for a PCI
> device. We don't need to compose it manually. Use pci_dev_id() to
> simplify the code a little bit.
> 
> Signed-off-by: Yu Liao <[email-masked]>

Thanks Yu Liao,

I agree that pci_dev_id() was being open coded here.
And that it is nicer to use that helper.

Reviewed-by: Simon Horman <[email-masked]>