OpenCloudOS-Kernel/drivers/scsi/bnx2i
Zhouyang Jia aa154ea885 scsi: bnx2i: 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>
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>
2018-06-19 22:02:25 -04: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 scsi: bnx2i: Convert timers to use timer_setup() 2017-10-27 02:22:00 -07:00
bnx2i_hwi.c scsi: bnx2i: add error handling for ioremap_nocache 2018-06-19 22:02:25 -04:00
bnx2i_init.c scsi: bnx2i: Simplify cpu hotplug code 2017-07-26 21:51:25 -04:00
bnx2i_iscsi.c scsi: bnx2i: Convert timers to use timer_setup() 2017-10-27 02:22:00 -07:00
bnx2i_sysfs.c bnx2i: Rebranding bnx2i driver 2014-07-25 17:16:59 -04:00