提交 f92f82d6 编写于 作者: D Dan Carpenter 提交者: 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: NDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: NGiridhar Malavali <giridhar.malavali@qlogic.com>
Acked-by: NChad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 82a40aef
......@@ -4922,12 +4922,13 @@ qla2x00_do_dpc(void *data)
if (qlafx00_reset_initialize(base_vha)) {
/* Failed. Abort isp later. */
if (!test_bit(UNLOADING,
&base_vha->dpc_flags))
&base_vha->dpc_flags)) {
set_bit(ISP_UNRECOVERABLE,
&base_vha->dpc_flags);
ql_dbg(ql_dbg_dpc, base_vha,
0x4021,
"Reset Recovery Failed\n");
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册