[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 10 Oct 2016 16:13:45 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Simon Horman <horms@...ge.net.au>,
Magnus Damm <magnus.damm@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Yangbo Lu <yangbo.lu@....com>,
Lee Jones <lee.jones@...aro.org>,
Dirk Behme <dirk.behme@...bosch.com>,
linux-arm-kernel@...ts.infradead.org,
linux-renesas-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/4] base: soc: Check for NULL SoC device attributes
On Tuesday, October 4, 2016 11:09:26 AM CEST 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@...der.be>
>
Acked-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists