]> git.baikalelectronics.ru Git - kernel.git/commit
ipack: add error handling for ioremap_nocache
authorZhouyang Jia <jiazhouyang09@gmail.com>
Tue, 12 Jun 2018 03:07:21 +0000 (11:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jul 2018 15:19:27 +0000 (17:19 +0200)
commitba1399b5dba5088b725ebec699820fbf01c50437
tree7b7a2b0eca8719b452d00db3d5f456d6efde90a7
parent0868e1c6283477483bd9d76f6a13658b7790e29e
ipack: add error handling for ioremap_nocache

When ioremap_nocache fails, the lack of error-handling code may
cause unexpected results.

This patch adds error-handling code after calling ioremap_nocache.

Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com>
Acked-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ipack/carriers/tpci200.c