[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 8 Aug 2023 16:32:15 +0800
From: Yang Yingliang <yangyingliang@...wei.com>
To: Xiongfeng Wang <wangxiongfeng2@...wei.com>,
<yangyicong@...ilicon.com>, <jonathan.cameron@...wei.com>,
<alexander.shishkin@...ux.intel.com>
CC: <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] hwtracing: hisi_ptt: Use pci_dev_id() to simplify the
code
On 2023/8/8 11:08, Xiongfeng Wang 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 using PCI_DEVID(). Use
> pci_dev_id() to simplify the code a little bit.
>
> Signed-off-by: Xiongfeng Wang <wangxiongfeng2@...wei.com>
Reviewed-by: Yang Yingliang <yangyingliang@...wei.com>
Powered by blists - more mailing lists