linux/drivers/scsi/megaraid
Shivasharan S a09454ce5d scsi: megaraid_sas: In validate raid map, raid capability is not converted to cpu format for all lds
On a host, if an ld is deleted there is a hole in the ld array returned
by the FW. But in MR_ValidateMapInfo we are not accounting for holes in
the ld array and traverse only upto index num_lds.  This patch takes
care of converting the capability field of all the valid lds in the ld
raid map.

Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-02-13 07:26:22 -05:00
..
Kconfig.megaraid
Makefile [SCSI] megaraid_sas: Add 9565/9285 specific code 2010-12-22 23:26:53 -06:00
mbox_defs.h Fix common misspellings 2011-03-31 11:26:23 -03:00
mega_common.h scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
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 megaraid: Fix possible NULL pointer deference in mraid_mm_ioctl 2016-01-08 13:03:53 -05: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: reduce size of fusion_context and use vmalloc if kmalloc fails 2017-02-13 07:26:22 -05:00
megaraid_sas_fp.c scsi: megaraid_sas: In validate raid map, raid capability is not converted to cpu format for all lds 2017-02-13 07:26:22 -05:00
megaraid_sas_fusion.c scsi: megaraid_sas: reduce size of fusion_context and use vmalloc if kmalloc fails 2017-02-13 07:26:22 -05:00
megaraid_sas_fusion.h scsi: megaraid_sas: reduce size of fusion_context and use vmalloc if kmalloc fails 2017-02-13 07:26:22 -05:00
megaraid_sas.h scsi: megaraid_sas: reduce size of fusion_context and use vmalloc if kmalloc fails 2017-02-13 07:26:22 -05:00