Re: [PATCH] PCI: make pcie_port_bus_type const

From: Ricardo B. Marliere
Date: Fri Feb 09 2024 - 04:42:07 EST


Hi Bjorn,

On 8 Feb 15:00, Bjorn Helgaas wrote:
> On Thu, Feb 08, 2024 at 04:41:46PM -0300, Ricardo B. Marliere wrote:
> > Now that the driver core can properly handle constant struct bus_type,
> > move the pcie_port_bus_type variable to be a constant structure as well,
> > placing it into read-only memory which can not be modified at runtime.
> >
> > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > Suggested-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > Signed-off-by: Ricardo B. Marliere <ricardo@xxxxxxxxxxxx>
>
> Applied to pci/misc for v6.9, thanks!
>
> Subject line adjusted to:
>
> PCI: Make pcie_port_bus_type const
>
> to match history.

Noted, thanks!
- Ricardo