Re: [PATCH 1/1] PCI: Move no_pci_devices() to the only driver using it

From: Dmitry Torokhov
Date: Tue Oct 22 2024 - 16:45:14 EST


Hi Bjorn, Ilpo,

On Thu, Oct 10, 2024 at 02:45:33PM -0500, Bjorn Helgaas wrote:
> On Wed, Oct 09, 2024 at 01:52:18PM +0300, Ilpo Järvinen wrote:
> > Core PCI code provides no_pci_devices() that is only used in the
> > pc110pad driver during init to detect cases when PC110 definitely cannot
> > be present. Move this legacy detection trickery/hack into the pc110pad
> > driver.
> >
> > Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
>
> Acked-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
>
> Thanks, this is indeed a gross hack, and I'd be glad to eradicate it
> from PCI.

I would much rather remove pc110_pad altogether. If I can get a
"Reviewed-by" on [1] that would be great.

[1] https://lore.kernel.org/all/20240808172733.1194442-4-dmitry.torokhov@xxxxxxxxx/

Thanks.

--
Dmitry