diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-01-30 19:39:49 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-01-30 19:39:49 +0300 |
commit | 74a2b96e61d78051c70c24ad4499e0c8dcd1a0f1 (patch) | |
tree | 3c048b868e56745f354aaa96ab106e62498c3ad7 /include | |
parent | f998ff681c0628c8da700a15975b4a57ec0ce707 (diff) | |
download | linux-74a2b96e61d78051c70c24ad4499e0c8dcd1a0f1.tar.xz |
video: fbdev: stifb: handle NULL return value from ioremap_nocache
Add missing error check for ioremap_nocache() failure
(prevents NULL pointer dereference on error).
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
[b.zolnierkie: minor fixes]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions