diff options
author | Joe Perches <joe@perches.com> | 2007-10-18 06:06:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:28 -0400 |
commit | 898eb71cb17644964c5895fb190e79e3d0c49679 (patch) | |
tree | 96be8f0a40feaf56fef836634c89955e432b12db /drivers/scsi | |
parent | 6c0286b199c3eb2caa973525dfc8a7ed67090ec0 (diff) |
Add missing newlines to some uses of dev_<level> messages
Found these while looking at printk uses.
Add missing newlines to dev_<level> uses
Add missing KERN_<level> prefixes to multiline dev_<level>s
Fixed a wierd->weird spelling typo
Added a newline to a printk
Signed-off-by: Joe Perches <joe@perches.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Mark M. Hoffman <mhoffman@lightlink.com>
Cc: Roland Dreier <rolandd@cisco.com>
Cc: Tilman Schmidt <tilman@imap.cc>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Greg KH <greg@kroah.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Cc: James Smart <James.Smart@Emulex.Com>
Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Jaroslav Kysela <perex@suse.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.c | 8 | ||||
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index e5337ad4121e..ce348c5c706c 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c | |||
@@ -1243,7 +1243,8 @@ void lpfc_sli_poll_fcp_ring(struct lpfc_hba *phba) | |||
1243 | memset(adaptermsg, 0, LPFC_MAX_ADPTMSG); | 1243 | memset(adaptermsg, 0, LPFC_MAX_ADPTMSG); |
1244 | memcpy(&adaptermsg[0], (uint8_t *) irsp, | 1244 | memcpy(&adaptermsg[0], (uint8_t *) irsp, |
1245 | MAX_MSG_DATA); | 1245 | MAX_MSG_DATA); |
1246 | dev_warn(&((phba->pcidev)->dev), "lpfc%d: %s", | 1246 | dev_warn(&((phba->pcidev)->dev), |
1247 | "lpfc%d: %s\n", | ||
1247 | phba->brd_no, adaptermsg); | 1248 | phba->brd_no, adaptermsg); |
1248 | } else { | 1249 | } else { |
1249 | /* Unknown IOCB command */ | 1250 | /* Unknown IOCB command */ |
@@ -1430,7 +1431,8 @@ lpfc_sli_handle_fast_ring_event(struct lpfc_hba *phba, | |||
1430 | memset(adaptermsg, 0, LPFC_MAX_ADPTMSG); | 1431 | memset(adaptermsg, 0, LPFC_MAX_ADPTMSG); |
1431 | memcpy(&adaptermsg[0], (uint8_t *) irsp, | 1432 | memcpy(&adaptermsg[0], (uint8_t *) irsp, |
1432 | MAX_MSG_DATA); | 1433 | MAX_MSG_DATA); |
1433 | dev_warn(&((phba->pcidev)->dev), "lpfc%d: %s", | 1434 | dev_warn(&((phba->pcidev)->dev), |
1435 | "lpfc%d: %s\n", | ||
1434 | phba->brd_no, adaptermsg); | 1436 | phba->brd_no, adaptermsg); |
1435 | } else { | 1437 | } else { |
1436 | /* Unknown IOCB command */ | 1438 | /* Unknown IOCB command */ |
@@ -1681,7 +1683,7 @@ lpfc_sli_handle_slow_ring_event(struct lpfc_hba *phba, | |||
1681 | memcpy(&adaptermsg[0], (uint8_t *) irsp, | 1683 | memcpy(&adaptermsg[0], (uint8_t *) irsp, |
1682 | MAX_MSG_DATA); | 1684 | MAX_MSG_DATA); |
1683 | dev_warn(&((phba->pcidev)->dev), | 1685 | dev_warn(&((phba->pcidev)->dev), |
1684 | "lpfc%d: %s", | 1686 | "lpfc%d: %s\n", |
1685 | phba->brd_no, adaptermsg); | 1687 | phba->brd_no, adaptermsg); |
1686 | } else { | 1688 | } else { |
1687 | /* Unknown IOCB command */ | 1689 | /* Unknown IOCB command */ |
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 03b68d4f3bd0..89460d27c689 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c | |||
@@ -1286,7 +1286,7 @@ static int __devinit qla4xxx_probe_adapter(struct pci_dev *pdev, | |||
1286 | 1286 | ||
1287 | ret = scsi_init_shared_tag_map(host, MAX_SRBS); | 1287 | ret = scsi_init_shared_tag_map(host, MAX_SRBS); |
1288 | if (ret) { | 1288 | if (ret) { |
1289 | dev_warn(&ha->pdev->dev, "scsi_init_shared_tag_map failed"); | 1289 | dev_warn(&ha->pdev->dev, "scsi_init_shared_tag_map failed\n"); |
1290 | goto probe_failed; | 1290 | goto probe_failed; |
1291 | } | 1291 | } |
1292 | 1292 | ||