]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
scsi: qla2xxx: Increase the size of the mailbox arrays from 4 to 8
authorBart Van Assche <bvanassche@acm.org>
Wed, 17 Apr 2019 21:44:21 +0000 (14:44 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 29 Apr 2019 21:24:49 +0000 (17:24 -0400)
commit0a59cea487e4d3c04364f29df241c9f7001ac6ff
tree707192d012b80b76bd03ae8d44ccd2abf378d568
parent3f918ffae8e788d70e6488598d00e0bf717d7737
scsi: qla2xxx: Increase the size of the mailbox arrays from 4 to 8

This patch avoids that Coverity complains that qla2x00_async_event() writes
outside the bounds of the mb[] arrays (MBA_IDC_AEN case).

Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_nx.c
drivers/scsi/qla2xxx/qla_nx2.c