aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArvind Yadav <[email protected]>2016-12-13 13:50:52 +0530
committerBartlomiej Zolnierkiewicz <[email protected]>2017-01-04 12:58:45 +0100
commit4dcd19bfabaee8f9f4bcf203afba09b98ccbaf76 (patch)
treefd7dddec731fd05fdf0045cc6dab08f18ccd96ba /lib
parent04f6152d9fbad5bb78bccd05e798fa2d66c571e9 (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 <[email protected]> Acked-by: Yoichi Yuasa <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions