[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230811110702.31019-1-zhengzengkai@huawei.com>
Date: Fri, 11 Aug 2023 19:06:57 +0800
From: Zheng Zengkai <zhengzengkai@...wei.com>
To: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <mark.einon@...il.com>, <siva.kallam@...adcom.com>,
<prashant@...adcom.com>, <mchan@...adcom.com>,
<steve.glendinning@...well.net>, <mw@...ihalf.com>,
<jiawenwu@...stnetic.com>, <mengyuanlou@...-swift.com>
CC: <netdev@...r.kernel.org>, <wangxiongfeng2@...wei.com>,
<zhengzengkai@...wei.com>
Subject: [PATCH net-next 0/5] net: Use pci_dev_id() to simplify the code
PCI core API pci_dev_id() can be used to get the BDF number for a pci
device. Use the API to simplify the code.
Zheng Zengkai (5):
et131x: Use pci_dev_id() to simplify the code
tg3: Use pci_dev_id() to simplify the code
net: smsc: Use pci_dev_id() to simplify the code
net: tc35815: Use pci_dev_id() to simplify the code
net: ngbe: use pci_dev_id() to simplify the code
drivers/net/ethernet/agere/et131x.c | 3 +--
drivers/net/ethernet/broadcom/tg3.c | 3 +--
drivers/net/ethernet/smsc/smsc9420.c | 3 +--
drivers/net/ethernet/toshiba/tc35815.c | 3 +--
drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c | 3 +--
5 files changed, 5 insertions(+), 10 deletions(-)
--
2.20.1
Powered by blists - more mailing lists