[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <2521746.Pc0WRFopsW@amdc3058>
Date: Wed, 04 Jan 2017 13:41:49 +0100
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
To: Yuasa Yoichi <yuasa@...ux-mips.org>,
Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: tomi.valkeinen@...com, ralf@...ux-mips.org, paul.burton@...tec.com,
linux-fbdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [v1] video:fbdev:cobalt_lcdfb:- Handle return NULL error from
devm_ioremap
Hi,
On Wednesday, December 14, 2016 11:23:07 AM Yuasa Yoichi wrote:
> Hi Arvind,
>
> Thank you for fixing it.
>
> Acked-by: Yoichi Yuasa <yuasa@...ux-mips.org>
>
> 2016-12-13 17:20 GMT+09:00 Arvind Yadav <arvind.yadav.cs@...il.com>:
> > Here, If devm_ioremap will fail. It will return NULL.
> > Kernel can run into a NULL-pointer dereference.
> > This error check will avoid NULL pointer dereference.
> >
> > Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>
Applied & queued for v4.10.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Powered by blists - more mailing lists