Re: [PATCH] scsi: megaraid_sas: fix error handle in megasas_probe_one

2017-08-07 Thread Martin K. Petersen
weiping, > 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. Applied to 4.13/scsi-fixes,

RE: [PATCH] scsi: megaraid_sas: fix error handle in megasas_probe_one

2017-08-07 Thread Sumit Saxena
>-Original Message- >From: weiping zhang [mailto:zhangweip...@didichuxing.com] >Sent: Monday, August 07, 2017 10:57 PM >To: kashyap.de...@broadcom.com; sumit.sax...@broadcom.com; >shivasharan.srikanteshw...@broadcom.com >Cc: megaraidlinux@broadcom.com; linux-scsi@vger.kernel.org