diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-01-30 17:39:49 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-01-30 17:39:49 +0100 |
commit | 74a2b96e61d78051c70c24ad4499e0c8dcd1a0f1 (patch) | |
tree | 3c048b868e56745f354aaa96ab106e62498c3ad7 /drivers/ide/macide.c | |
parent | video: fbdev: pmagb-b-fb: Remove bad `__init' annotation (diff) | |
download | linux-74a2b96e61d78051c70c24ad4499e0c8dcd1a0f1.tar.xz linux-74a2b96e61d78051c70c24ad4499e0c8dcd1a0f1.zip |
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 'drivers/ide/macide.c')
0 files changed, 0 insertions, 0 deletions