aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_dbg.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-11-18 12:03:06 -0500
committerJames Bottomley <JBottomley@Parallels.com>2011-12-15 01:55:02 -0500
commitd8424f68c0160c45c446e56cb586fd8b9c538a1a (patch)
tree060328584036c01127be743b5a54393b1c62f9e5 /drivers/scsi/qla2xxx/qla_dbg.h
parent086b3e8a399ecd089534280597cfba45b2b55887 (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_dbg.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_dbg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_dbg.h b/drivers/scsi/qla2xxx/qla_dbg.h
index 06928141cf64..29a7822848ae 100644
--- a/drivers/scsi/qla2xxx/qla_dbg.h
+++ b/drivers/scsi/qla2xxx/qla_dbg.h
@@ -244,14 +244,14 @@ struct qla2xxx_fw_dump {
244 244
245extern int ql_errlev; 245extern int ql_errlev;
246 246
247void 247void __attribute__((format (printf, 4, 5)))
248ql_dbg(uint32_t, scsi_qla_host_t *vha, int32_t, const char *fmt, ...); 248ql_dbg(uint32_t, scsi_qla_host_t *vha, int32_t, const char *fmt, ...);
249void 249void __attribute__((format (printf, 4, 5)))
250ql_dbg_pci(uint32_t, struct pci_dev *pdev, int32_t, const char *fmt, ...); 250ql_dbg_pci(uint32_t, struct pci_dev *pdev, int32_t, const char *fmt, ...);
251 251
252void 252void __attribute__((format (printf, 4, 5)))
253ql_log(uint32_t, scsi_qla_host_t *vha, int32_t, const char *fmt, ...); 253ql_log(uint32_t, scsi_qla_host_t *vha, int32_t, const char *fmt, ...);
254void 254void __attribute__((format (printf, 4, 5)))
255ql_log_pci(uint32_t, struct pci_dev *pdev, int32_t, const char *fmt, ...); 255ql_log_pci(uint32_t, struct pci_dev *pdev, int32_t, const char *fmt, ...);
256 256
257/* Debug Levels */ 257/* Debug Levels */