summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-02-14 17:38:55 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-02-16 03:37:35 +0100
commit40a4c2c392593b57a2e6f6438794492596279838 (patch)
treee286b7a6581d7e4af086f100e1dcb99e79eda92a /drivers/scsi/bfa
parentscsi: snic: switch to pci_irq_alloc_vectors (diff)
downloadlinux-40a4c2c392593b57a2e6f6438794492596279838.tar.xz
linux-40a4c2c392593b57a2e6f6438794492596279838.zip
scsi: megaraid_sas: array overflow in megasas_dump_frame()
The "sz" variable is in terms of bytes, but we're treating the buffer as an array of __le32 so we have to divide by 4. Fixes: def0eab3af86 ("scsi: megaraid_sas: enhance debug logs in OCR context") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bfa')
0 files changed, 0 insertions, 0 deletions