diff options
author | Joe Perches <joe@perches.com> | 2011-11-18 12:03:06 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-12-15 01:55:02 -0500 |
commit | d8424f68c0160c45c446e56cb586fd8b9c538a1a (patch) | |
tree | 060328584036c01127be743b5a54393b1c62f9e5 /drivers/scsi/qla2xxx/qla_sup.c | |
parent | 086b3e8a399ecd089534280597cfba45b2b55887 (diff) |
[SCSI] qla2xxx: Make the logging functions verify their arguments and fixed the current broken uses as appropriate.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_sup.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_sup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c index eff13563c82d..16bc72844a97 100644 --- a/drivers/scsi/qla2xxx/qla_sup.c +++ b/drivers/scsi/qla2xxx/qla_sup.c | |||
@@ -904,8 +904,9 @@ no_flash_data: | |||
904 | } | 904 | } |
905 | done: | 905 | done: |
906 | ql_dbg(ql_dbg_init, vha, 0x004d, | 906 | ql_dbg(ql_dbg_init, vha, 0x004d, |
907 | "FDT[%x]: (0x%x/0x%x) erase=0x%x " | 907 | "FDT[%s]: (0x%x/0x%x) erase=0x%x " |
908 | "pr=%x upro=%x wrtd=0x%x blk=0x%x.\n", loc, mid, fid, | 908 | "pr=%x wrtd=0x%x blk=0x%x.\n", |
909 | loc, mid, fid, | ||
909 | ha->fdt_erase_cmd, ha->fdt_protect_sec_cmd, | 910 | ha->fdt_erase_cmd, ha->fdt_protect_sec_cmd, |
910 | ha->fdt_wrt_disable, ha->fdt_block_size); | 911 | ha->fdt_wrt_disable, ha->fdt_block_size); |
911 | 912 | ||