aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorJan Dumon <j.dumon@option.com>2010-01-04 23:53:00 -0500
committerDavid S. Miller <davem@davemloft.net>2010-01-07 03:43:47 -0500
commit8a5c9c4932ad1fbe9daa501e89a7357a2804e3fa (patch)
tree8bd55c6d1311c31cdeb4a3fb76bfb58210a0b485 /drivers/net/usb
parent0e0367e980b55629917f3dd5f5f0ccbf3d0dab62 (diff)
hso: fixed missing newlines
Fixed missing newlines in calls to dev_warn & dev_err. Signed-off-by: Jan Dumon <j.dumon@option.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r--drivers/net/usb/hso.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c
index 67eb8390cf07..6895f1531238 100644
--- a/drivers/net/usb/hso.c
+++ b/drivers/net/usb/hso.c
@@ -828,7 +828,7 @@ static netdev_tx_t hso_net_start_xmit(struct sk_buff *skb,
828 result = usb_submit_urb(odev->mux_bulk_tx_urb, GFP_ATOMIC); 828 result = usb_submit_urb(odev->mux_bulk_tx_urb, GFP_ATOMIC);
829 if (result) { 829 if (result) {
830 dev_warn(&odev->parent->interface->dev, 830 dev_warn(&odev->parent->interface->dev,
831 "failed mux_bulk_tx_urb %d", result); 831 "failed mux_bulk_tx_urb %d\n", result);
832 net->stats.tx_errors++; 832 net->stats.tx_errors++;
833 netif_start_queue(net); 833 netif_start_queue(net);
834 } else { 834 } else {
@@ -1076,7 +1076,7 @@ static void read_bulk_callback(struct urb *urb)
1076 result = usb_submit_urb(urb, GFP_ATOMIC); 1076 result = usb_submit_urb(urb, GFP_ATOMIC);
1077 if (result) 1077 if (result)
1078 dev_warn(&odev->parent->interface->dev, 1078 dev_warn(&odev->parent->interface->dev,
1079 "%s failed submit mux_bulk_rx_urb %d", __func__, 1079 "%s failed submit mux_bulk_rx_urb %d\n", __func__,
1080 result); 1080 result);
1081} 1081}
1082 1082
@@ -1865,7 +1865,7 @@ static int mux_device_request(struct hso_serial *serial, u8 type, u16 port,
1865 result = usb_submit_urb(ctrl_urb, GFP_ATOMIC); 1865 result = usb_submit_urb(ctrl_urb, GFP_ATOMIC);
1866 if (result) { 1866 if (result) {
1867 dev_err(&ctrl_urb->dev->dev, 1867 dev_err(&ctrl_urb->dev->dev,
1868 "%s failed submit ctrl_urb %d type %d", __func__, 1868 "%s failed submit ctrl_urb %d type %d\n", __func__,
1869 result, type); 1869 result, type);
1870 return result; 1870 return result;
1871 } 1871 }
@@ -2385,12 +2385,12 @@ static int hso_serial_common_create(struct hso_serial *serial, int num_urbs,
2385 serial->tx_data_length = tx_size; 2385 serial->tx_data_length = tx_size;
2386 serial->tx_data = kzalloc(serial->tx_data_length, GFP_KERNEL); 2386 serial->tx_data = kzalloc(serial->tx_data_length, GFP_KERNEL);
2387 if (!serial->tx_data) { 2387 if (!serial->tx_data) {
2388 dev_err(dev, "%s - Out of memory", __func__); 2388 dev_err(dev, "%s - Out of memory\n", __func__);
2389 goto exit; 2389 goto exit;
2390 } 2390 }
2391 serial->tx_buffer = kzalloc(serial->tx_data_length, GFP_KERNEL); 2391 serial->tx_buffer = kzalloc(serial->tx_data_length, GFP_KERNEL);
2392 if (!serial->tx_buffer) { 2392 if (!serial->tx_buffer) {
2393 dev_err(dev, "%s - Out of memory", __func__); 2393 dev_err(dev, "%s - Out of memory\n", __func__);
2394 goto exit; 2394 goto exit;
2395 } 2395 }
2396 2396
@@ -2859,14 +2859,14 @@ struct hso_shared_int *hso_create_shared_int(struct usb_interface *interface)
2859 2859
2860 mux->shared_intr_urb = usb_alloc_urb(0, GFP_KERNEL); 2860 mux->shared_intr_urb = usb_alloc_urb(0, GFP_KERNEL);
2861 if (!mux->shared_intr_urb) { 2861 if (!mux->shared_intr_urb) {
2862 dev_err(&interface->dev, "Could not allocate intr urb?"); 2862 dev_err(&interface->dev, "Could not allocate intr urb?\n");
2863 goto exit; 2863 goto exit;
2864 } 2864 }
2865 mux->shared_intr_buf = 2865 mux->shared_intr_buf =
2866 kzalloc(le16_to_cpu(mux->intr_endp->wMaxPacketSize), 2866 kzalloc(le16_to_cpu(mux->intr_endp->wMaxPacketSize),
2867 GFP_KERNEL); 2867 GFP_KERNEL);
2868 if (!mux->shared_intr_buf) { 2868 if (!mux->shared_intr_buf) {
2869 dev_err(&interface->dev, "Could not allocate intr buf?"); 2869 dev_err(&interface->dev, "Could not allocate intr buf?\n");
2870 goto exit; 2870 goto exit;
2871 } 2871 }
2872 2872
@@ -3287,7 +3287,7 @@ static int hso_mux_submit_intr_urb(struct hso_shared_int *shared_int,
3287 3287
3288 result = usb_submit_urb(shared_int->shared_intr_urb, gfp); 3288 result = usb_submit_urb(shared_int->shared_intr_urb, gfp);
3289 if (result) 3289 if (result)
3290 dev_warn(&usb->dev, "%s failed mux_intr_urb %d", __func__, 3290 dev_warn(&usb->dev, "%s failed mux_intr_urb %d\n", __func__,
3291 result); 3291 result);
3292 3292
3293 return result; 3293 return result;