]> git.baikalelectronics.ru Git - kernel.git/commit
char: hpet: fix a missing check of ioremap
authorKangjie Lu <kjlu@umn.edu>
Sat, 9 Mar 2019 03:50:24 +0000 (21:50 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Mar 2019 17:15:51 +0000 (02:15 +0900)
commitab0cb359642466d92716c7d43cb4321402c6865c
treedd160bbc57183d3b001cea70d31726ed2f9fffc6
parent7fd7200d00e921723c3f25f6ac2ff195f6f6e016
char: hpet: fix a missing check of ioremap

Check if ioremap fails, and if so, return AE_ERROR.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/hpet.c