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>
This commit is contained in:

committed by
Linus Torvalds

parent
6c0286b199
commit
898eb71cb1
@@ -900,7 +900,7 @@ static int ax_probe(struct platform_device *pdev)
|
||||
|
||||
ax->map2 = ioremap(res->start, size);
|
||||
if (ax->map2 == NULL) {
|
||||
dev_err(&pdev->dev, "cannot map reset register");
|
||||
dev_err(&pdev->dev, "cannot map reset register\n");
|
||||
ret = -ENXIO;
|
||||
goto exit_mem2;
|
||||
}
|
||||
|
@@ -6428,7 +6428,7 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev)
|
||||
/* enable device (incl. PCI PM wakeup), and bus-mastering */
|
||||
rc = pci_enable_device(pdev);
|
||||
if (rc) {
|
||||
dev_err(&pdev->dev, "Cannot enable PCI device, aborting.");
|
||||
dev_err(&pdev->dev, "Cannot enable PCI device, aborting.\n");
|
||||
goto err_out;
|
||||
}
|
||||
|
||||
|
@@ -3218,7 +3218,7 @@ static int __devinit ehea_probe_adapter(struct of_device *dev,
|
||||
/* get adapter properties */
|
||||
ret = ehea_sense_adapter_attr(adapter);
|
||||
if (ret) {
|
||||
dev_err(&dev->dev, "sense_adapter_attr failed: %d", ret);
|
||||
dev_err(&dev->dev, "sense_adapter_attr failed: %d\n", ret);
|
||||
goto out_free_ad;
|
||||
}
|
||||
|
||||
@@ -3226,7 +3226,7 @@ static int __devinit ehea_probe_adapter(struct of_device *dev,
|
||||
EHEA_NEQ, EHEA_MAX_ENTRIES_EQ, 1);
|
||||
if (!adapter->neq) {
|
||||
ret = -EIO;
|
||||
dev_err(&dev->dev, "NEQ creation failed");
|
||||
dev_err(&dev->dev, "NEQ creation failed\n");
|
||||
goto out_free_ad;
|
||||
}
|
||||
|
||||
@@ -3237,7 +3237,7 @@ static int __devinit ehea_probe_adapter(struct of_device *dev,
|
||||
ehea_interrupt_neq, IRQF_DISABLED,
|
||||
"ehea_neq", adapter);
|
||||
if (ret) {
|
||||
dev_err(&dev->dev, "requesting NEQ IRQ failed");
|
||||
dev_err(&dev->dev, "requesting NEQ IRQ failed\n");
|
||||
goto out_kill_eq;
|
||||
}
|
||||
|
||||
@@ -3247,7 +3247,7 @@ static int __devinit ehea_probe_adapter(struct of_device *dev,
|
||||
|
||||
ret = ehea_setup_ports(adapter);
|
||||
if (ret) {
|
||||
dev_err(&dev->dev, "setup_ports failed");
|
||||
dev_err(&dev->dev, "setup_ports failed\n");
|
||||
goto out_rem_dev_sysfs;
|
||||
}
|
||||
|
||||
|
@@ -3058,7 +3058,8 @@ static int myri10ge_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
if (status != 0) {
|
||||
dac_enabled = 0;
|
||||
dev_err(&pdev->dev,
|
||||
"64-bit pci address mask was refused, trying 32-bit");
|
||||
"64-bit pci address mask was refused, "
|
||||
"trying 32-bit\n");
|
||||
status = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
|
||||
}
|
||||
if (status != 0) {
|
||||
|
@@ -3961,7 +3961,7 @@ static __devinit struct net_device *sky2_init_netdev(struct sky2_hw *hw,
|
||||
struct net_device *dev = alloc_etherdev(sizeof(*sky2));
|
||||
|
||||
if (!dev) {
|
||||
dev_err(&hw->pdev->dev, "etherdev alloc failed");
|
||||
dev_err(&hw->pdev->dev, "etherdev alloc failed\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@@ -114,8 +114,8 @@ static void mcs7830_async_cmd_callback(struct urb *urb)
|
||||
struct usb_ctrlrequest *req = (struct usb_ctrlrequest *)urb->context;
|
||||
|
||||
if (urb->status < 0)
|
||||
printk(KERN_DEBUG "mcs7830_async_cmd_callback() failed with %d",
|
||||
urb->status);
|
||||
printk(KERN_DEBUG "%s() failed with %d\n",
|
||||
__FUNCTION__, urb->status);
|
||||
|
||||
kfree(req);
|
||||
usb_free_urb(urb);
|
||||
@@ -129,15 +129,15 @@ static void mcs7830_set_reg_async(struct usbnet *dev, u16 index, u16 size, void
|
||||
|
||||
urb = usb_alloc_urb(0, GFP_ATOMIC);
|
||||
if (!urb) {
|
||||
dev_dbg(&dev->udev->dev, "Error allocating URB "
|
||||
"in write_cmd_async!");
|
||||
dev_dbg(&dev->udev->dev,
|
||||
"Error allocating URB in write_cmd_async!\n");
|
||||
return;
|
||||
}
|
||||
|
||||
req = kmalloc(sizeof *req, GFP_ATOMIC);
|
||||
if (!req) {
|
||||
dev_err(&dev->udev->dev, "Failed to allocate memory for "
|
||||
"control request");
|
||||
dev_err(&dev->udev->dev,
|
||||
"Failed to allocate memory for control request\n");
|
||||
goto out;
|
||||
}
|
||||
req->bRequestType = MCS7830_WR_BMREQ;
|
||||
@@ -153,8 +153,8 @@ static void mcs7830_set_reg_async(struct usbnet *dev, u16 index, u16 size, void
|
||||
|
||||
ret = usb_submit_urb(urb, GFP_ATOMIC);
|
||||
if (ret < 0) {
|
||||
dev_err(&dev->udev->dev, "Error submitting the control "
|
||||
"message: ret=%d", ret);
|
||||
dev_err(&dev->udev->dev,
|
||||
"Error submitting the control message: ret=%d\n", ret);
|
||||
goto out;
|
||||
}
|
||||
return;
|
||||
|
@@ -1526,7 +1526,7 @@ static int xennet_connect(struct net_device *dev)
|
||||
|
||||
if (!feature_rx_copy) {
|
||||
dev_info(&dev->dev,
|
||||
"backend does not support copying recieve path");
|
||||
"backend does not support copying receive path\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user