[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160331063953.GS28207@tiger>
Date: Thu, 31 Mar 2016 14:39:53 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: Vladimir Zapolskiy <vz@...ia.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Jason Cooper <jason@...edaemon.net>,
Marc Zyngier <marc.zyngier@....com>,
Oleksij Rempel <linux@...pel-privat.de>,
Sascha Hauer <kernel@...gutronix.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] irqchip/mxs: fix error check of of_io_request_and_map()
On Wed, Mar 09, 2016 at 03:21:40AM +0200, Vladimir Zapolskiy wrote:
> The of_io_request_and_map() returns a valid pointer in iomem region or
> ERR_PTR(), check for NULL always fails and may cause a NULL pointer
> dereference on error path.
>
> Fixes: 25e34b44313b ("irqchip/mxs: Prepare driver for hardware with different offsets")
> Signed-off-by: Vladimir Zapolskiy <vz@...ia.com>
Acked-by: Shawn Guo <shawnguo@...nel.org>
Powered by blists - more mailing lists