serial: 8250_pci: Check mapping in pci_ni8430_init
authorAaron Sierra <asierra@xes-inc.com>
Fri, 31 Oct 2014 00:49:52 +0000 (19:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 22:57:25 +0000 (14:57 -0800)
commit5d14bba91d8c350b21d28834fab95f67a46a264e
tree784ed6775886e05e2d783c5405b9be318b4dcee3
parent398a9db655efcc208285997c351fe73702735d88
serial: 8250_pci: Check mapping in pci_ni8430_init

Check the return value of ioremap_nocache to make sure we got a
valid mapping.

Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c