Re: [PATCH v4 13/24] alpha/PCI: Use PCI resource accessor macros

Krzysztof Wilczyński <[email protected]>
Newsgroups gmane.linux.ports.ppc64.devel,gmane.linux.kernel.pci,gmane.linux.ports.alpha
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.