]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
scsi: megaraid_sas: Error handling for invalid ldcount provided by firmware in RAID map
authorShivasharan S <shivasharan.srikanteshwara@broadcom.com>
Fri, 5 Jan 2018 13:27:40 +0000 (05:27 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Jan 2018 04:25:15 +0000 (23:25 -0500)
commit7ada701d0d5e5c6d357e157a72b841db3e8d03f4
tree2dc761b35a84aca74e528c0f9111d3dbb851bddd
parent41fae9a498accb104a0a7df4d461d17a1d1842f4
scsi: megaraid_sas: Error handling for invalid ldcount provided by firmware in RAID map

Currently driver does not validate ldcount provided by firmware.  If the
value is invalid, fail RAID map validation accordingly.  This issue is
rare to hit in field and is fixed as part of code review.

Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_fp.c