Re: [PATCH v4 13/24] alpha/PCI: Use PCI resource accessor macros
Krzysztof Wilczyński <[email protected]> Fri, 17 Apr 2026 19:48:01 +0900
| Newsgroups | org.kernel.vger.linux-alpha,org.kernel.vger.linux-pci,org.ozlabs.lists.linuxppc-dev |
|---|---|
| Message-ID | <20260417104801.GB1625998@rocinante> |
Hello,
> > @@ -181,7 +181,7 @@ static int pci_create_attr(struct pci_dev *pdev, int num)
> > suffix = ""; /* Assume bwx machine, normal resourceN files. */
> > nlen1 = 10;
> >
> > - if (pdev->resource[num].flags & IORESOURCE_MEM) {
> > + if (pci_resource_flags(pdev, num) & IORESOURCE_MEM) {
>
> This could have used the new helper but since this code is going away
> anyway in a later patch it doesn't matter,
>
> Reviewed-by: Ilpo Järvinen <[email protected]>
Taken care of in v5.
Thank you!
Krzysztof