| Date | Wed, 22 Mar 2023 13:13:34 +0100 | From | Joerg Roedel <> | Subject | Re: [PATCH 34/36] iommu: make the pointer to struct bus_type constant |
| |
On Mon, Mar 13, 2023 at 07:29:16PM +0100, Greg Kroah-Hartman wrote: > A number of iommu functions take a struct bus_type * and never modify > the data passed in, so make them all const * as that is what the driver > core is expecting to have passed into as well. > > This is a step toward making all struct bus_type pointers constant in > the kernel. > > Cc: Joerg Roedel <joro@8bytes.org> > Cc: Will Deacon <will@kernel.org> > Cc: Robin Murphy <robin.murphy@arm.com> > Cc: iommu@lists.linux.dev > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > --- > Note, this is a patch that is a prepatory cleanup as part of a larger > series of patches that is working on resolving some old driver core > design mistakes. It will build and apply cleanly on top of 6.3-rc2 on > its own, but I'd prefer if I could take it through my driver-core tree > so that the driver core changes can be taken through there for 6.4-rc1.
This will probably cause conflicts in linux-next, but anyway, those should be easy to resolve. So
Acked-by: Joerg Roedel <jroedel@suse.de>
|