linux/drivers/scsi/megaraid
weiping zhang 61f0c3c7a0 scsi: megaraid_sas: fix error handle in megasas_probe_one
megasas_mgmt_info.max_index has increased by 1 before megasas_io_attach,
if megasas_io_attach return error, then goto fail_io_attach,
megasas_mgmt_info.instance has a wrong index here. So first reduce
max_index and then set that instance to NULL.

Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-08-16 20:01:30 -04:00
..
Kconfig.megaraid
Makefile
mbox_defs.h
mega_common.h
megaraid_ioctl.h
megaraid_mbox.c scsi: drop reason argument from ->change_queue_depth 2014-11-24 14:45:27 +01:00
megaraid_mbox.h
megaraid_mm.c scsi: megaraid: Fix a sleep-in-atomic bug 2017-06-12 20:48:08 -04:00
megaraid_mm.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
megaraid_sas_base.c scsi: megaraid_sas: fix error handle in megasas_probe_one 2017-08-16 20:01:30 -04:00
megaraid_sas_fp.c scsi: megaraid_sas: Indentation and smatch warning fixes 2017-02-13 07:26:23 -05:00
megaraid_sas_fusion.c scsi: megaraid_sas: fix memleak in megasas_alloc_cmdlist_fusion 2017-07-24 22:06:35 -04:00
megaraid_sas_fusion.h scsi: megaraid_sas: Change RAID_1_10_RMW_CMDS to RAID_1_PEER_CMDS and set value to 2 2017-02-13 07:26:23 -05:00
megaraid_sas.h scsi: megaraid_sas: Driver version upgrade 2017-03-13 22:59:53 -04:00