[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230815072328.GI22185@unreal>
Date: Tue, 15 Aug 2023 10:23:28 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Jialin Zhang <zhangjialin11@...wei.com>
Cc: shayagr@...zon.com, akiyano@...zon.com, darinzon@...zon.com,
ndagan@...zon.com, saeedb@...zon.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
michal.kubiak@...el.com, yuancan@...wei.com, netdev@...r.kernel.org,
liwei391@...wei.com, wangxiongfeng2@...wei.com
Subject: Re: [PATCH] net: ena: Use pci_dev_id() to simplify the code
On Tue, Aug 15, 2023 at 10:42:48AM +0800, Jialin Zhang 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 mannually. Use pci_dev_id() to
> simplify the code a little bit.
>
> Signed-off-by: Jialin Zhang <zhangjialin11@...wei.com>
> ---
> drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Patch should include target: [PATCH net-next] ....
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists