From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Biju Das <biju.das.jz@bp.renesas.com>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>,
Biju Das <biju.das@bp.renesas.com>,
linux-usb@vger.kernel.org,
Geert Uytterhoeven <geert+renesas@glider.be>,
Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 2/4] usb: typec: hd3ss3220: Fix NULL pointer crash
Date: Fri, 9 Dec 2022 17:17:01 +0100 [thread overview]
Message-ID: <Y5NfffSLz7DUgF3b@kroah.com> (raw)
In-Reply-To: <20221209155623.29147-3-biju.das.jz@bp.renesas.com>
On Fri, Dec 09, 2022 at 03:56:21PM +0000, Biju Das wrote:
> The value returned by usb_role_switch_get() can be NULL and it leads
> to NULL pointer crash. This patch fixes this issue by adding NULL
> check for the role switch handle.
Why isn't this the first patch here, and cc: stable, or just as an
individual patch that has nothing to do with the other new feature
patches?
thanks,
greg k-h
next prev parent reply other threads:[~2022-12-09 16:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-09 15:56 [PATCH 0/4] Add Polling support for role detection with HD3SS3220 Biju Das
2022-12-09 15:56 ` [PATCH 1/4] dt-bindings: usb: ti,hd3ss3220: Update interrupt property as optional Biju Das
2022-12-09 15:56 ` [PATCH 2/4] usb: typec: hd3ss3220: Fix NULL pointer crash Biju Das
2022-12-09 16:17 ` Greg Kroah-Hartman [this message]
2022-12-09 16:50 ` Biju Das
2022-12-15 9:56 ` Sergei Shtylyov
2022-12-09 15:56 ` [PATCH 3/4] usb: typec: hd3ss3220: Sort header files Biju Das
2022-12-09 16:16 ` Greg Kroah-Hartman
2022-12-09 16:49 ` Biju Das
2022-12-15 10:05 ` Geert Uytterhoeven
2022-12-15 11:44 ` Greg Kroah-Hartman
2022-12-09 15:56 ` [PATCH 4/4] usb: typec: hd3ss3220: Add polling support Biju Das
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y5NfffSLz7DUgF3b@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=biju.das.jz@bp.renesas.com \
--cc=biju.das@bp.renesas.com \
--cc=fabrizio.castro.jz@renesas.com \
--cc=geert+renesas@glider.be \
--cc=heikki.krogerus@linux.intel.com \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.