Messages in this thread | | | Date | Tue, 31 Jan 2023 09:08:41 +0100 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH] driver core: soc: remove layering violation for the soc_bus |
| |
On Mon, Jan 30, 2023 at 07:51:11PM +0100, Rafael J. Wysocki wrote: > On Mon, Jan 30, 2023 at 7:49 PM Greg Kroah-Hartman > <gregkh@linuxfoundation.org> wrote: > > > > The soc_bus code pokes around in the internal bus structures assuming > > that it "knows" if a field is not set that it has not been registered > > yet. That isn't a safe assumption, so just remove the layering > > violation entirely and keep track if the bus has been registered or not > > ourselves. > > > > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > > Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Thanks for the quick review!
| |