Commit f92f82d6 authored by Dan Carpenter's avatar Dan Carpenter Committed by Christoph Hellwig

qla2xxx: fix incorrect debug printk

There are missing curly braces here so it prints that the recovery
failed even when it succeeded.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarGiridhar Malavali <giridhar.malavali@qlogic.com>
Acked-by: default avatarChad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 82a40aef
...@@ -4922,12 +4922,13 @@ qla2x00_do_dpc(void *data) ...@@ -4922,12 +4922,13 @@ qla2x00_do_dpc(void *data)
if (qlafx00_reset_initialize(base_vha)) { if (qlafx00_reset_initialize(base_vha)) {
/* Failed. Abort isp later. */ /* Failed. Abort isp later. */
if (!test_bit(UNLOADING, if (!test_bit(UNLOADING,
&base_vha->dpc_flags)) &base_vha->dpc_flags)) {
set_bit(ISP_UNRECOVERABLE, set_bit(ISP_UNRECOVERABLE,
&base_vha->dpc_flags); &base_vha->dpc_flags);
ql_dbg(ql_dbg_dpc, base_vha, ql_dbg(ql_dbg_dpc, base_vha,
0x4021, 0x4021,
"Reset Recovery Failed\n"); "Reset Recovery Failed\n");
}
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment