diff options
author | 2016-12-13 13:50:52 +0530 | |
---|---|---|
committer | 2017-01-04 12:58:45 +0100 | |
commit | 4dcd19bfabaee8f9f4bcf203afba09b98ccbaf76 (patch) | |
tree | fd7dddec731fd05fdf0045cc6dab08f18ccd96ba /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | MAINTAINERS: add myself as maintainer of fbdev (diff) | |
download | wireguard-linux-4dcd19bfabaee8f9f4bcf203afba09b98ccbaf76.tar.xz wireguard-linux-4dcd19bfabaee8f9f4bcf203afba09b98ccbaf76.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions