diff options
author | Eric Moore <eric.moore@lsi.com> | 2007-09-29 12:17:21 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:52:19 -0400 |
commit | c51d0beaaed902ef48ed1f3b1834d37b7ffd55e8 (patch) | |
tree | 5d0c5279b079e24876d0d6860bef2bc1e0314561 /drivers/message/fusion/mptscsih.c | |
parent | e8206381f5842269691f3164ec0d79b7059bd710 (diff) |
[SCSI] mpt fusion: fix up fusion prints using the sdev_printk, dev_printk, and shost_printk API
Cleaning up prints that use the xxx_printk API, in that the fusion
preamble "mptbase: iocX" follows the info provided by the print API.
The way its currently coded, the [H:C:T] print in sdev_printk will be
inbetween "mptbase" and "iocX", instead of before.
Signed-off-by: Eric Moore <Eric.Moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion/mptscsih.c')
-rw-r--r-- | drivers/message/fusion/mptscsih.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c index dc5e996a8944..bdff950a54a1 100644 --- a/drivers/message/fusion/mptscsih.c +++ b/drivers/message/fusion/mptscsih.c | |||
@@ -992,7 +992,7 @@ mptscsih_flush_running_cmds(MPT_SCSI_HOST *hd) | |||
992 | scsi_dma_unmap(sc); | 992 | scsi_dma_unmap(sc); |
993 | sc->result = DID_RESET << 16; | 993 | sc->result = DID_RESET << 16; |
994 | sc->host_scribble = NULL; | 994 | sc->host_scribble = NULL; |
995 | sdev_printk(MYIOC_s_INFO_FMT, sc->device, | 995 | sdev_printk(KERN_INFO, sc->device, MYIOC_s_FMT |
996 | "completing cmds: fw_channel %d, fw_id %d, sc=%p," | 996 | "completing cmds: fw_channel %d, fw_id %d, sc=%p," |
997 | " mf = %p, idx=%x\n", ioc->name, channel, id, sc, mf, ii); | 997 | " mf = %p, idx=%x\n", ioc->name, channel, id, sc, mf, ii); |
998 | sc->scsi_done(sc); | 998 | sc->scsi_done(sc); |
@@ -1053,7 +1053,7 @@ mptscsih_search_running_cmds(MPT_SCSI_HOST *hd, VirtDevice *vdevice) | |||
1053 | scsi_dma_unmap(sc); | 1053 | scsi_dma_unmap(sc); |
1054 | sc->host_scribble = NULL; | 1054 | sc->host_scribble = NULL; |
1055 | sc->result = DID_NO_CONNECT << 16; | 1055 | sc->result = DID_NO_CONNECT << 16; |
1056 | sdev_printk(MYIOC_s_INFO_FMT, sc->device, "completing cmds: fw_channel %d," | 1056 | sdev_printk(KERN_INFO, sc->device, MYIOC_s_FMT "completing cmds: fw_channel %d," |
1057 | "fw_id %d, sc=%p, mf = %p, idx=%x\n", ioc->name, vdevice->vtarget->channel, | 1057 | "fw_id %d, sc=%p, mf = %p, idx=%x\n", ioc->name, vdevice->vtarget->channel, |
1058 | vdevice->vtarget->id, sc, mf, ii); | 1058 | vdevice->vtarget->id, sc, mf, ii); |
1059 | sc->scsi_done(sc); | 1059 | sc->scsi_done(sc); |