diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-05-05 05:47:57 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-28 12:13:18 -0400 |
commit | f92f82d676d40d262733c48da5837196e8bc9f18 (patch) | |
tree | 3a6831d1eab391d642c1efb62f8e6b4e5819b6ca | |
parent | 82a40aef48891800ae7607eac36cbcfc0443cecc (diff) |
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: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 5a430c7bc027..0f9cdb38703b 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -4922,12 +4922,13 @@ qla2x00_do_dpc(void *data) | |||
4922 | if (qlafx00_reset_initialize(base_vha)) { | 4922 | if (qlafx00_reset_initialize(base_vha)) { |
4923 | /* Failed. Abort isp later. */ | 4923 | /* Failed. Abort isp later. */ |
4924 | if (!test_bit(UNLOADING, | 4924 | if (!test_bit(UNLOADING, |
4925 | &base_vha->dpc_flags)) | 4925 | &base_vha->dpc_flags)) { |
4926 | set_bit(ISP_UNRECOVERABLE, | 4926 | set_bit(ISP_UNRECOVERABLE, |
4927 | &base_vha->dpc_flags); | 4927 | &base_vha->dpc_flags); |
4928 | ql_dbg(ql_dbg_dpc, base_vha, | 4928 | ql_dbg(ql_dbg_dpc, base_vha, |
4929 | 0x4021, | 4929 | 0x4021, |
4930 | "Reset Recovery Failed\n"); | 4930 | "Reset Recovery Failed\n"); |
4931 | } | ||
4931 | } | 4932 | } |
4932 | } | 4933 | } |
4933 | 4934 | ||