Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1550739

Re: [v1] video:fbdev:cobalt_lcdfb:- Handle return NULL error from devm_ioremap

From Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Newsgroups linux.kernel
Subject Re: [v1] video:fbdev:cobalt_lcdfb:- Handle return NULL error from devm_ioremap
Date 2017-01-04 13:50 +0100
Message-ID <sVTaW-4JG-13@gated-at.bofh.it> (permalink)
References <sNQDg-7jb-17@gated-at.bofh.it> <sO7uq-BJ-7@gated-at.bofh.it> <sVTaW-4JG-15@gated-at.bofh.it> <sO7uq-BJ-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@linux-mips.org>
> 
> 2016-12-13 17:20 GMT+09:00 Arvind Yadav <arvind.yadav.cs@gmail.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@gmail.com>

Applied & queued for v4.10.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [v1] video:fbdev:cobalt_lcdfb:- Handle return NULL error from  devm_ioremap Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2017-01-04 13:50 +0100

csiph-web