Thread (3 messages) 3 messages, 3 authors, 2017-01-04

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

flat view

From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2017-01-04 12:42:11
Also in: lkml

Hi,

On Wednesday, December 14, 2016 11:23:07 AM Yuasa Yoichi wrote:
Hi Arvind,

Thank you for fixing it.

Acked-by: Yoichi Yuasa <redacted>

2016-12-13 17:20 GMT+09:00 Arvind Yadav [off-list ref]:
quoted
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 <redacted>
Applied & queued for v4.10.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help