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/usb/misc | |
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/usb/misc')
-rw-r--r-- | drivers/usb/misc/adutux.c | 4 | ||||
-rw-r--r-- | drivers/usb/misc/iowarrior.c | 8 | ||||
-rw-r--r-- | drivers/usb/misc/phidgetmotorcontrol.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c index 5131cbfb2f52..c567aa7a41ea 100644 --- a/drivers/usb/misc/adutux.c +++ b/drivers/usb/misc/adutux.c | |||
@@ -805,7 +805,7 @@ static int adu_probe(struct usb_interface *interface, | |||
805 | dev->minor = interface->minor; | 805 | dev->minor = interface->minor; |
806 | 806 | ||
807 | /* let the user know what node this device is now attached to */ | 807 | /* let the user know what node this device is now attached to */ |
808 | dev_info(&interface->dev, "ADU%d %s now attached to /dev/usb/adutux%d", | 808 | dev_info(&interface->dev, "ADU%d %s now attached to /dev/usb/adutux%d\n", |
809 | udev->descriptor.idProduct, dev->serial_number, | 809 | udev->descriptor.idProduct, dev->serial_number, |
810 | (dev->minor - ADU_MINOR_BASE)); | 810 | (dev->minor - ADU_MINOR_BASE)); |
811 | exit: | 811 | exit: |
@@ -851,7 +851,7 @@ static void adu_disconnect(struct usb_interface *interface) | |||
851 | mutex_unlock(&dev->mtx); | 851 | mutex_unlock(&dev->mtx); |
852 | } | 852 | } |
853 | 853 | ||
854 | dev_info(&interface->dev, "ADU device adutux%d now disconnected", | 854 | dev_info(&interface->dev, "ADU device adutux%d now disconnected\n", |
855 | (minor - ADU_MINOR_BASE)); | 855 | (minor - ADU_MINOR_BASE)); |
856 | 856 | ||
857 | dbg(2," %s : leave", __FUNCTION__); | 857 | dbg(2," %s : leave", __FUNCTION__); |
diff --git a/drivers/usb/misc/iowarrior.c b/drivers/usb/misc/iowarrior.c index 46d9f27ec173..d372fbc4effb 100644 --- a/drivers/usb/misc/iowarrior.c +++ b/drivers/usb/misc/iowarrior.c | |||
@@ -216,7 +216,7 @@ static void iowarrior_callback(struct urb *urb) | |||
216 | exit: | 216 | exit: |
217 | retval = usb_submit_urb(urb, GFP_ATOMIC); | 217 | retval = usb_submit_urb(urb, GFP_ATOMIC); |
218 | if (retval) | 218 | if (retval) |
219 | dev_err(&dev->interface->dev, "%s - usb_submit_urb failed with result %d", | 219 | dev_err(&dev->interface->dev, "%s - usb_submit_urb failed with result %d\n", |
220 | __FUNCTION__, retval); | 220 | __FUNCTION__, retval); |
221 | 221 | ||
222 | } | 222 | } |
@@ -451,7 +451,7 @@ static ssize_t iowarrior_write(struct file *file, | |||
451 | break; | 451 | break; |
452 | default: | 452 | default: |
453 | /* what do we have here ? An unsupported Product-ID ? */ | 453 | /* what do we have here ? An unsupported Product-ID ? */ |
454 | dev_err(&dev->interface->dev, "%s - not supported for product=0x%x", | 454 | dev_err(&dev->interface->dev, "%s - not supported for product=0x%x\n", |
455 | __FUNCTION__, dev->product_id); | 455 | __FUNCTION__, dev->product_id); |
456 | retval = -EFAULT; | 456 | retval = -EFAULT; |
457 | goto exit; | 457 | goto exit; |
@@ -526,7 +526,7 @@ static int iowarrior_ioctl(struct inode *inode, struct file *file, | |||
526 | } else { | 526 | } else { |
527 | retval = -EINVAL; | 527 | retval = -EINVAL; |
528 | dev_err(&dev->interface->dev, | 528 | dev_err(&dev->interface->dev, |
529 | "ioctl 'IOW_WRITE' is not supported for product=0x%x.", | 529 | "ioctl 'IOW_WRITE' is not supported for product=0x%x.\n", |
530 | dev->product_id); | 530 | dev->product_id); |
531 | } | 531 | } |
532 | break; | 532 | break; |
@@ -752,7 +752,7 @@ static int iowarrior_probe(struct usb_interface *interface, | |||
752 | /* allocate memory for our device state and intialize it */ | 752 | /* allocate memory for our device state and intialize it */ |
753 | dev = kzalloc(sizeof(struct iowarrior), GFP_KERNEL); | 753 | dev = kzalloc(sizeof(struct iowarrior), GFP_KERNEL); |
754 | if (dev == NULL) { | 754 | if (dev == NULL) { |
755 | dev_err(&interface->dev, "Out of memory"); | 755 | dev_err(&interface->dev, "Out of memory\n"); |
756 | return retval; | 756 | return retval; |
757 | } | 757 | } |
758 | 758 | ||
diff --git a/drivers/usb/misc/phidgetmotorcontrol.c b/drivers/usb/misc/phidgetmotorcontrol.c index df0ebcdb9d6a..2ad09b1f4848 100644 --- a/drivers/usb/misc/phidgetmotorcontrol.c +++ b/drivers/usb/misc/phidgetmotorcontrol.c | |||
@@ -155,7 +155,7 @@ resubmit: | |||
155 | retval = usb_submit_urb(urb, GFP_ATOMIC); | 155 | retval = usb_submit_urb(urb, GFP_ATOMIC); |
156 | if (retval) | 156 | if (retval) |
157 | dev_err(&mc->intf->dev, | 157 | dev_err(&mc->intf->dev, |
158 | "can't resubmit intr, %s-%s/motorcontrol0, retval %d", | 158 | "can't resubmit intr, %s-%s/motorcontrol0, retval %d\n", |
159 | mc->udev->bus->bus_name, | 159 | mc->udev->bus->bus_name, |
160 | mc->udev->devpath, retval); | 160 | mc->udev->devpath, retval); |
161 | } | 161 | } |