[PATCH] irqchip/mxs: fix error check of of_io_request_and_map()
Shawn Guo
shawnguo at kernel.org
Wed Mar 30 23:39:53 PDT 2016
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 at mleia.com>
Acked-by: Shawn Guo <shawnguo at kernel.org>
More information about the linux-arm-kernel
mailing list