All of lore.kernel.org
 help / color / mirror / Atom feed
From: gregkh@linuxfoundation.org (Greg Kroah-Hartman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] base: soc: Check for NULL SoC device attributes
Date: Wed, 19 Oct 2016 10:26:49 +0200	[thread overview]
Message-ID: <20161019082649.GB6199@kroah.com> (raw)
In-Reply-To: <1475572167-29581-4-git-send-email-geert+renesas@glider.be>

On Tue, Oct 04, 2016 at 11:09:26AM +0200, Geert Uytterhoeven wrote:
> If soc_device_match() is used to check the value of a specific
> attribute that is not present for the current SoC, the kernel crashes
> with a NULL pointer dereference.
> 
> Fix this by explicitly checking for the absence of a needed property,
> and considering this a non-match.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

  parent reply	other threads:[~2016-10-19  8:26 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04  9:09 [PATCH 0/4] soc: renesas: Identify SoC and register with the SoC bus Geert Uytterhoeven
2016-10-04  9:09 ` [PATCH 1/4] base: soc: Early register bus when needed Geert Uytterhoeven
2016-10-10 14:15   ` Arnd Bergmann
2016-10-10 14:15     ` Arnd Bergmann
2016-10-04  9:09 ` [PATCH 2/4] base: soc: Introduce soc_device_match() interface Geert Uytterhoeven
2016-10-19  8:26   ` Greg Kroah-Hartman
2016-10-04  9:09 ` [PATCH 3/4] base: soc: Check for NULL SoC device attributes Geert Uytterhoeven
2016-10-10 14:13   ` Arnd Bergmann
2016-10-10 14:13     ` Arnd Bergmann
2016-10-19  8:26   ` Greg Kroah-Hartman [this message]
2016-10-04  9:09 ` [PATCH/RFC 4/4] soc: renesas: Identify SoC and register with the SoC bus Geert Uytterhoeven
2016-10-05 12:17   ` Dirk Behme
2016-10-05 12:17     ` Dirk Behme
2016-10-10 14:23   ` Arnd Bergmann
2016-10-10 14:23     ` Arnd Bergmann
2016-10-19  8:02     ` Geert Uytterhoeven
2016-10-19  8:02       ` Geert Uytterhoeven
2016-10-19 10:59       ` Arnd Bergmann
2016-10-19 10:59         ` Arnd Bergmann
2016-10-21 18:16         ` Geert Uytterhoeven
2016-10-21 18:16           ` Geert Uytterhoeven
2016-10-21 21:16           ` Arnd Bergmann
2016-10-21 21:16             ` Arnd Bergmann
2016-10-22  7:44             ` Geert Uytterhoeven
2016-10-22  7:44               ` Geert Uytterhoeven
2016-10-29 21:27               ` Arnd Bergmann
2016-10-29 21:27                 ` Arnd Bergmann
2016-10-31 10:30                 ` Geert Uytterhoeven
2016-10-31 10:30                   ` Geert Uytterhoeven
2016-10-10 14:28 ` [PATCH 0/4] " Arnd Bergmann
2016-10-10 14:28   ` Arnd Bergmann
2016-10-19  8:10   ` Geert Uytterhoeven
2016-10-19  8:10     ` Geert Uytterhoeven
2016-10-19  8:10     ` Geert Uytterhoeven
2016-10-19 10:32     ` Arnd Bergmann
2016-10-19 10:32       ` Arnd Bergmann
2016-10-19 10:32       ` Arnd Bergmann

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=20161019082649.GB6199@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-arm-kernel@lists.infradead.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.