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


Groups > linux.kernel > #1550739 > unrolled thread

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

Started byBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
First post2017-01-04 13:50 +0100
Last post2017-01-04 13:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Date2017-01-04 13:50 +0100
SubjectRe: [v1] video:fbdev:cobalt_lcdfb:- Handle return NULL error from devm_ioremap
Message-ID<sVTaW-4JG-13@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web