Re: [PATCH v3 10/17] EDAC/i82875p: Convert to pci_assign_unassigned_bus_resources()

From: Borislav Petkov

Date: Wed Nov 25 2026 - 19:33:30 EST


On Thu, Nov 26, 2026 at 01:09:09AM +0200, Ilpo Järvinen wrote:
> The i82875p_edac driver scans a single device and then attempts to
> assign its resources using pci_bus_assign_resources(). That function
> makes bridge window sizing disjoint from the assignment phase and is
> going to be removed.
>
> Convert pci_bus_assign_resources() to
> pci_assign_unassigned_bus_resources() which is likely a no-op in this
> case as it looks like bridges are not involved here.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> ---
> drivers/edac/i82875p_edac.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/edac/i82875p_edac.c b/drivers/edac/i82875p_edac.c
> index 869de8e372b3..59a92a209dea 100644
> --- a/drivers/edac/i82875p_edac.c
> +++ b/drivers/edac/i82875p_edac.c
> @@ -290,7 +290,7 @@ static int i82875p_setup_overfl_dev(struct pci_dev *pdev,
> if (dev == NULL)
> return 1;
>
> - pci_bus_assign_resources(dev->bus);
> + pci_assign_unassigned_bus_resources(dev->bus);
> pci_bus_add_device(dev);
> }
>
> --

You can drop this from your set:

e5c2a84fd615 ("EDAC/i82875p: Convert to pci_assign_unassigned_bus_resources()")

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette