[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y9jMiQPLaMjIvaq/@kroah.com>
Date: Tue, 31 Jan 2023 09:08:41 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: "Rafael J. Wysocki" <rafael@...nel.org>
Cc: linux-kernel@...r.kernel.org
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@...uxfoundation.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@...uxfoundation.org>
>
> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
Thanks for the quick review!
Powered by blists - more mailing lists