[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9a44a46a-7270-1e86-2476-49a4743f14df@huawei.com>
Date: Tue, 15 Jun 2021 11:07:06 +0800
From: Dongdong Liu <liudongdong3@...wei.com>
To: Christoph Hellwig <hch@...radead.org>
CC: <helgaas@...nel.org>, <kw@...ux.com>, <linux-pci@...r.kernel.org>,
<rajur@...lsio.com>, <hverkuil-cisco@...all.nl>,
<linux-media@...r.kernel.org>, <netdev@...r.kernel.org>
Subject: Re: [RESEND PATCH V3 4/6] PCI: Enable 10-Bit tag support for PCIe
Endpoint devices
On 2021/6/14 13:54, Christoph Hellwig wrote:
> On Sun, Jun 13, 2021 at 05:29:13PM +0800, Dongdong Liu wrote:
>> +static void pci_configure_10bit_tags(struct pci_dev *dev)
>> +{
>> + struct pci_dev *bridge;
>> +
>> + if (!pci_is_pcie(dev))
>> + return;
>> +
>> + if (!(dev->pcie_devcap2 & PCI_EXP_DEVCAP2_10BIT_TAG_COMP))
>> + return;
>
> Doesn't the second check imply the first one?
Yes, no need the first one, will delete.
Thanks,
Dongdong
>
> Otherwise looks good:
>
> Reviewed-by: Christoph Hellwig <hch@....de>
> .
>
Powered by blists - more mailing lists