diff options
author | Arun Easi <aeasi@marvell.com> | 2020-09-29 03:21:48 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-29 23:22:16 -0400 |
commit | 7a6cdbd5e87515ebf6231b762ad903c7cff87b9c (patch) | |
tree | 42b259d3d2fd4f945e49763c139b1bf99d5c1bd8 /drivers/scsi | |
parent | 44f5a37d1e3e4e392412318666f8477601ae3024 (diff) | |
download | linux-stable-7a6cdbd5e87515ebf6231b762ad903c7cff87b9c.tar.gz linux-stable-7a6cdbd5e87515ebf6231b762ad903c7cff87b9c.tar.bz2 linux-stable-7a6cdbd5e87515ebf6231b762ad903c7cff87b9c.zip |
scsi: qla2xxx: Fix MPI reset needed message
When printing the message:
"MPI Heartbeat stop. MPI reset is not needed.."
..the wrong register was checked leading to always printing that MPI reset
is not needed, even when it is needed. Fix the MPI reset message.
Link: https://lore.kernel.org/r/20200929102152.32278-4-njavali@marvell.com
Fixes: cbb01c2f2f63 ("scsi: qla2xxx: Fix MPI failure AEN (8200) handling")
Cc: stable@vger.kernel.org
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Arun Easi <aeasi@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')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 4baa83996813..62097733c6e0 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c @@ -767,7 +767,7 @@ qla27xx_handle_8200_aen(scsi_qla_host_t *vha, uint16_t *mb) ql_log(ql_log_warn, vha, 0x02f0, "MPI Heartbeat stop. MPI reset is%s needed. " "MB0[%xh] MB1[%xh] MB2[%xh] MB3[%xh]\n", - mb[0] & BIT_8 ? "" : " not", + mb[1] & BIT_8 ? "" : " not", mb[0], mb[1], mb[2], mb[3]); if ((mb[1] & BIT_8) == 0) |