kernel-fxtec-pro1x/drivers/ipack
Wei Yongjun a851990732 ipack: tpci200: fix error return code in tpci200_register()
commit 133317479f0324f6faaf797c4f5f3e9b1b36ce35 upstream.

Fix to return negative error code -ENOMEM from the ioremap() error handling
case instead of 0, as done elsewhere in this function.

Fixes: 43986798fd ("ipack: add error handling for ioremap_nocache")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Cc: stable <stable@vger.kernel.org>
Acked-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Link: https://lore.kernel.org/r/20200507094237.13599-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-27 17:37:43 +02:00
..
carriers ipack: tpci200: fix error return code in tpci200_register() 2020-05-27 17:37:43 +02:00
devices tty: Replace ASYNC_INITIALIZED bit and update atomically 2016-04-30 09:26:55 -07:00
ipack.c ipack: Improve a size determination in ipack_bus_register() 2017-05-18 16:59:06 +02:00
Kconfig
Makefile