summaryrefslogtreecommitdiff
path: root/drivers/scsi/sun_esp.c
diff options
context:
space:
mode:
authorBikash Hazarika <bhazarika@marvell.com>2022-07-13 08:20:38 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-07-19 05:33:03 +0300
commit6c96a3c7d49593ef15805f5e497601c87695abc9 (patch)
tree99c00eaf4d6e62916fc324785b562d4543bfa7a8 /drivers/scsi/sun_esp.c
parentcf3b4fb655796674e605268bd4bfb47a47c8bce6 (diff)
downloadlinux-6c96a3c7d49593ef15805f5e497601c87695abc9.tar.xz
scsi: qla2xxx: Zero undefined mailbox IN registers
While requesting a new mailbox command, driver does not write any data to unused registers. Initialize the unused register value to zero while requesting a new mailbox command to prevent stale entry access by firmware. Link: https://lore.kernel.org/r/20220713052045.10683-4-njavali@marvell.com Cc: stable@vger.kernel.org Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Bikash Hazarika <bhazarika@marvell.com> Signed-off-by: Quinn Tran <qutran@marvell.com> Signed-off-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sun_esp.c')
0 files changed, 0 insertions, 0 deletions