diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2016-12-13 13:50:52 +0530 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-01-04 12:58:45 +0100 |
commit | 4dcd19bfabaee8f9f4bcf203afba09b98ccbaf76 (patch) | |
tree | fd7dddec731fd05fdf0045cc6dab08f18ccd96ba /firmware/ti_5052.fw.ihex | |
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>
Diffstat (limited to 'firmware/ti_5052.fw.ihex')
0 files changed, 0 insertions, 0 deletions