From: tony@atomide•com (Tony Lindgren)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] ARM: OMAP1: ams-delta: Fix possible use of uninitialized field
Date: Thu, 8 Nov 2018 09:25:58 -0800 [thread overview]
Message-ID: <20181108172558.GO56134@atomide.com> (raw)
In-Reply-To: <20181107213031.21650-1-jmkrzyszt@gmail.com>
* Janusz Krzysztofik <jmkrzyszt@gmail•com> [181107 13:28]:
> While playing with initialization order of modem device, it has been
> discovered that under some circumstances (early console init, I
> believe) its .pm() callback may be called before the
> uart_port->private_data pointer is initialized from
> plat_serial8250_port->private_data, resulting in NULL pointer
> dereference. Fix it by checking for uninitialized pointer before using
> it in modem_pm().
Applying into omap-for-v4.20/fixes thanks.
Tony
prev parent reply other threads:[~2018-11-08 17:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-07 21:30 [PATCH] ARM: OMAP1: ams-delta: Fix possible use of uninitialized field Janusz Krzysztofik
2018-11-08 17:25 ` Tony Lindgren [this message]
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=20181108172558.GO56134@atomide.com \
--to=tony@atomide$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox