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

szülő
6c0286b199
commit
898eb71cb1
@@ -1071,7 +1071,7 @@ static ssize_t show_latency_timer(struct device *dev, struct device_attribute *a
|
||||
(char*) &latency, 1, WDR_TIMEOUT);
|
||||
|
||||
if (rv < 0) {
|
||||
dev_err(dev, "Unable to read latency timer: %i", rv);
|
||||
dev_err(dev, "Unable to read latency timer: %i\n", rv);
|
||||
return -EIO;
|
||||
}
|
||||
return sprintf(buf, "%i\n", latency);
|
||||
@@ -1098,7 +1098,7 @@ static ssize_t store_latency_timer(struct device *dev, struct device_attribute *
|
||||
buf, 0, WDR_TIMEOUT);
|
||||
|
||||
if (rv < 0) {
|
||||
dev_err(dev, "Unable to write latency timer: %i", rv);
|
||||
dev_err(dev, "Unable to write latency timer: %i\n", rv);
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
|
@@ -2882,7 +2882,7 @@ static int edge_startup (struct usb_serial *serial)
|
||||
(edge_serial->product_info.NumPorts != serial->num_ports)) {
|
||||
dev_warn(&serial->dev->dev, "Device Reported %d serial ports "
|
||||
"vs. core thinking we have %d ports, email "
|
||||
"greg@kroah.com this information.",
|
||||
"greg@kroah.com this information.\n",
|
||||
edge_serial->product_info.NumPorts,
|
||||
serial->num_ports);
|
||||
}
|
||||
|
@@ -227,7 +227,7 @@ static int ipw_open(struct usb_serial_port *port, struct file *filp)
|
||||
0,
|
||||
100000);
|
||||
if (result < 0)
|
||||
dev_err(&port->dev, "Init of modem failed (error = %d)", result);
|
||||
dev_err(&port->dev, "Init of modem failed (error = %d)\n", result);
|
||||
|
||||
/* reset the bulk pipes */
|
||||
usb_clear_halt(dev, usb_rcvbulkpipe(dev, port->bulk_in_endpointAddress));
|
||||
@@ -255,7 +255,7 @@ static int ipw_open(struct usb_serial_port *port, struct file *filp)
|
||||
0,
|
||||
100000);
|
||||
if (result < 0)
|
||||
dev_err(&port->dev, "Enabling bulk RxRead failed (error = %d)", result);
|
||||
dev_err(&port->dev, "Enabling bulk RxRead failed (error = %d)\n", result);
|
||||
|
||||
/*--4: setup the initial flowcontrol */
|
||||
dbg("%s:setting init flowcontrol (%s)",__FUNCTION__,buf_flow_init);
|
||||
@@ -268,7 +268,7 @@ static int ipw_open(struct usb_serial_port *port, struct file *filp)
|
||||
0x10,
|
||||
200000);
|
||||
if (result < 0)
|
||||
dev_err(&port->dev, "initial flowcontrol failed (error = %d)", result);
|
||||
dev_err(&port->dev, "initial flowcontrol failed (error = %d)\n", result);
|
||||
|
||||
|
||||
/*--5: raise the dtr */
|
||||
@@ -282,7 +282,7 @@ static int ipw_open(struct usb_serial_port *port, struct file *filp)
|
||||
0,
|
||||
200000);
|
||||
if (result < 0)
|
||||
dev_err(&port->dev, "setting dtr failed (error = %d)", result);
|
||||
dev_err(&port->dev, "setting dtr failed (error = %d)\n", result);
|
||||
|
||||
/*--6: raise the rts */
|
||||
dbg("%s:raising rts",__FUNCTION__);
|
||||
@@ -295,7 +295,7 @@ static int ipw_open(struct usb_serial_port *port, struct file *filp)
|
||||
0,
|
||||
200000);
|
||||
if (result < 0)
|
||||
dev_err(&port->dev, "setting dtr failed (error = %d)", result);
|
||||
dev_err(&port->dev, "setting dtr failed (error = %d)\n", result);
|
||||
|
||||
kfree(buf_flow_init);
|
||||
return 0;
|
||||
@@ -322,7 +322,7 @@ static void ipw_close(struct usb_serial_port *port, struct file * filp)
|
||||
0,
|
||||
200000);
|
||||
if (result < 0)
|
||||
dev_err(&port->dev, "dropping dtr failed (error = %d)", result);
|
||||
dev_err(&port->dev, "dropping dtr failed (error = %d)\n", result);
|
||||
|
||||
/*--2: drop the rts */
|
||||
dbg("%s:dropping rts",__FUNCTION__);
|
||||
@@ -334,7 +334,7 @@ static void ipw_close(struct usb_serial_port *port, struct file * filp)
|
||||
0,
|
||||
200000);
|
||||
if (result < 0)
|
||||
dev_err(&port->dev, "dropping rts failed (error = %d)", result);
|
||||
dev_err(&port->dev, "dropping rts failed (error = %d)\n", result);
|
||||
|
||||
|
||||
/*--3: purge */
|
||||
@@ -347,7 +347,7 @@ static void ipw_close(struct usb_serial_port *port, struct file * filp)
|
||||
0,
|
||||
200000);
|
||||
if (result < 0)
|
||||
dev_err(&port->dev, "purge failed (error = %d)", result);
|
||||
dev_err(&port->dev, "purge failed (error = %d)\n", result);
|
||||
|
||||
|
||||
/* send RXBULK_off (tell modem to stop transmitting bulk data on rx chan) */
|
||||
@@ -361,7 +361,7 @@ static void ipw_close(struct usb_serial_port *port, struct file * filp)
|
||||
100000);
|
||||
|
||||
if (result < 0)
|
||||
dev_err(&port->dev, "Disabling bulk RxRead failed (error = %d)", result);
|
||||
dev_err(&port->dev, "Disabling bulk RxRead failed (error = %d)\n", result);
|
||||
|
||||
/* shutdown any in-flight urbs that we know about */
|
||||
usb_kill_urb(port->read_urb);
|
||||
|
@@ -478,7 +478,7 @@ static int mos7720_open(struct usb_serial_port *port, struct file * filp)
|
||||
response = usb_submit_urb(port0->interrupt_in_urb, GFP_KERNEL);
|
||||
if (response)
|
||||
dev_err(&port->dev,
|
||||
"%s - Error %d submitting control urb",
|
||||
"%s - Error %d submitting control urb\n",
|
||||
__FUNCTION__, response);
|
||||
}
|
||||
|
||||
@@ -492,7 +492,7 @@ static int mos7720_open(struct usb_serial_port *port, struct file * filp)
|
||||
response = usb_submit_urb(port->read_urb, GFP_KERNEL);
|
||||
if (response)
|
||||
dev_err(&port->dev,
|
||||
"%s - Error %d submitting read urb", __FUNCTION__, response);
|
||||
"%s - Error %d submitting read urb\n", __FUNCTION__, response);
|
||||
|
||||
/* initialize our icount structure */
|
||||
memset(&(mos7720_port->icount), 0x00, sizeof(mos7720_port->icount));
|
||||
|
@@ -256,7 +256,7 @@ static void setup_line(struct work_struct *work)
|
||||
100);
|
||||
|
||||
if (result != OTI6858_CTRL_PKT_SIZE) {
|
||||
dev_err(&port->dev, "%s(): error reading status", __FUNCTION__);
|
||||
dev_err(&port->dev, "%s(): error reading status\n", __FUNCTION__);
|
||||
kfree(new_setup);
|
||||
/* we will try again */
|
||||
schedule_delayed_work(&priv->delayed_setup_work, msecs_to_jiffies(2));
|
||||
|
@@ -48,7 +48,7 @@ enum devicetype {
|
||||
static int sierra_set_power_state(struct usb_device *udev, __u16 swiState)
|
||||
{
|
||||
int result;
|
||||
dev_dbg(&udev->dev, "%s", "SET POWER STATE");
|
||||
dev_dbg(&udev->dev, "%s", "SET POWER STATE\n");
|
||||
result = usb_control_msg(udev, usb_sndctrlpipe(udev, 0),
|
||||
0x00, /* __u8 request */
|
||||
0x40, /* __u8 request type */
|
||||
@@ -63,7 +63,7 @@ static int sierra_set_power_state(struct usb_device *udev, __u16 swiState)
|
||||
static int sierra_set_ms_mode(struct usb_device *udev, __u16 eSocMode)
|
||||
{
|
||||
int result;
|
||||
dev_dbg(&udev->dev, "%s", "DEVICE MODE SWITCH");
|
||||
dev_dbg(&udev->dev, "%s", "DEVICE MODE SWITCH\n");
|
||||
result = usb_control_msg(udev, usb_sndctrlpipe(udev, 0),
|
||||
SWIMS_USB_REQUEST_SetMode, /* __u8 request */
|
||||
SWIMS_USB_REQUEST_TYPE_SetMode, /* __u8 request type */
|
||||
@@ -397,7 +397,7 @@ static void sierra_indat_callback(struct urb *urb)
|
||||
err = usb_submit_urb(urb, GFP_ATOMIC);
|
||||
if (err)
|
||||
dev_err(&port->dev, "resubmit read urb failed."
|
||||
"(%d)", err);
|
||||
"(%d)\n", err);
|
||||
}
|
||||
}
|
||||
return;
|
||||
@@ -525,7 +525,7 @@ static int sierra_open(struct usb_serial_port *port, struct file *filp)
|
||||
|
||||
result = usb_submit_urb(urb, GFP_KERNEL);
|
||||
if (result) {
|
||||
dev_err(&port->dev, "submit urb %d failed (%d) %d",
|
||||
dev_err(&port->dev, "submit urb %d failed (%d) %d\n",
|
||||
i, result, urb->transfer_buffer_length);
|
||||
}
|
||||
}
|
||||
@@ -538,7 +538,7 @@ static int sierra_open(struct usb_serial_port *port, struct file *filp)
|
||||
if (port->interrupt_in_urb) {
|
||||
result = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL);
|
||||
if (result)
|
||||
dev_err(&port->dev, "submit irq_in urb failed %d",
|
||||
dev_err(&port->dev, "submit irq_in urb failed %d\n",
|
||||
result);
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user