[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YkS7fiItcIBH18C4@google.com>
Date: Wed, 30 Mar 2022 13:20:14 -0700
From: Benson Leung <bleung@...gle.com>
To: Won Chung <wonchung@...gle.com>
Cc: Prashant Malani <pmalani@...omium.org>,
Tomas Winkler <tomas.winkler@...el.com>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] misc/mei: Add NULL check to component match callback
functions
Hi Won,
On Wed, Mar 30, 2022 at 11:43:33AM -0700, Won Chung wrote:
> On Wed, Mar 30, 2022 at 11:18 AM Prashant Malani <pmalani@...gle.com> wrote:
> >
> > Hi Won,
> >
> > On Wed, 30 Mar 2022 at 10:58, Won Chung <wonchung@...gle.com> wrote:
> >>
> >> Component match callback functions need to check if expected data is
> >> passed to them. Without this check, it can cause a NULL pointer
> >> dereference when another driver registers a component before i915
> >> drivers have their component master fully bind.
> >>
> > IMO this should have a "Fixes" tag, and be picked back to stable branches.
> > Also, please use my chromium.org account (pmalani@...omium.org) for upstream communications.
> >
> > Thanks!
>
> Hi Prashant,
>
> This currently does not fix a patch in the upstream, but is for a
> future patch of adding component_add to usb4_port. Would we need the
> "Fixes" tag for a future patch too?
I believe it is considered a fix to an original patch. Won, you should go
back through git blame of this file to see which original commit originally
added the component match callback in this and the other files.
> Thinking again, I think it might be a better idea to have this as a
> series of patches along with the patch to be sent after this one.
>
I think these are focused enough that you don't need to send them in series.
> I changed the recipient email to send this to your chromium.org
> account. Sorry for that.
>
> Thanks,
> Won
Thanks,
Benson
--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@...gle.com
Chromium OS Project
bleung@...omium.org
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists