1
0
Fork 0
remarkable-linux/drivers/scsi/bnx2i
Zhouyang Jia 13ab355240 scsi: bnx2i: add error handling for ioremap_nocache
[ Upstream commit aa154ea885 ]

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>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Manish Rangankar <Manish.Rangankar@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-03 17:00:52 -07:00
..
57xx_iscsi_constants.h bnx2i: Rebranding bnx2i driver 2014-07-25 17:16:59 -04:00
57xx_iscsi_hsi.h bnx2i: Rebranding bnx2i driver 2014-07-25 17:16:59 -04:00
Kconfig bnx2i/bnx2fc : fix randconfig error in next-20140909 2014-09-15 17:45:18 -04:00
Makefile
bnx2i.h sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
bnx2i_hwi.c scsi: bnx2i: add error handling for ioremap_nocache 2018-10-03 17:00:52 -07:00
bnx2i_init.c scsi: bnx2i: Simplify cpu hotplug code 2017-07-26 21:51:25 -04:00
bnx2i_iscsi.c scsi: bnx2i: missing error code in bnx2i_ep_connect() 2017-06-26 15:01:03 -04:00
bnx2i_sysfs.c bnx2i: Rebranding bnx2i driver 2014-07-25 17:16:59 -04:00