[PATCH] pinctrl: at91: fix null pointer dereference

Alexandre Belloni alexandre.belloni at free-electrons.com
Tue Jul 7 10:02:54 PDT 2015


On 02/07/2015 at 18:06:42 +0200, David Dueck wrote :
> Not all gpio banks are necessarily enabled, in the current code this can
> lead to null pointer dereferences.
> 

[...]

> 
> Signed-off-by: David Dueck <davidcdueck at googlemail.com>
> CC: Nicolas Ferre <nicolas.ferre at atmel.com>
> CC: Alexandre Belloni <alexandre.belloni at free-electrons.com>
> CC: Ludovic Desroches <ludovic.desroches at atmel.com>
> CC: Boris Brezillon <boris.brezillon at free-electrons.com>
> CC: linux-arm-kernel at lists.infradead.org
> CC: linux-kernel at vger.kernel.org
Acked-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list