commit | 4dcd19bfabaee8f9f4bcf203afba09b98ccbaf76 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Tue Dec 13 13:50:52 2016 +0530 |
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | Wed Jan 04 12:58:45 2017 +0100 |
tree | fd7dddec731fd05fdf0045cc6dab08f18ccd96ba | |
parent | 04f6152d9fbad5bb78bccd05e798fa2d66c571e9 [diff] |
video: fbdev: cobalt_lcdfb: Handle return NULL error from devm_ioremap 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> Acked-by: Yoichi Yuasa <yuasa@linux-mips.org> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>