diff options
Diffstat (limited to 'drivers/net/usb/mcs7830.c')
-rw-r--r-- | drivers/net/usb/mcs7830.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/usb/mcs7830.c b/drivers/net/usb/mcs7830.c index 6240b978fe3d..f55a5951733a 100644 --- a/drivers/net/usb/mcs7830.c +++ b/drivers/net/usb/mcs7830.c | |||
@@ -114,8 +114,8 @@ static void mcs7830_async_cmd_callback(struct urb *urb) | |||
114 | struct usb_ctrlrequest *req = (struct usb_ctrlrequest *)urb->context; | 114 | struct usb_ctrlrequest *req = (struct usb_ctrlrequest *)urb->context; |
115 | 115 | ||
116 | if (urb->status < 0) | 116 | if (urb->status < 0) |
117 | printk(KERN_DEBUG "mcs7830_async_cmd_callback() failed with %d", | 117 | printk(KERN_DEBUG "%s() failed with %d\n", |
118 | urb->status); | 118 | __FUNCTION__, urb->status); |
119 | 119 | ||
120 | kfree(req); | 120 | kfree(req); |
121 | usb_free_urb(urb); | 121 | usb_free_urb(urb); |
@@ -129,15 +129,15 @@ static void mcs7830_set_reg_async(struct usbnet *dev, u16 index, u16 size, void | |||
129 | 129 | ||
130 | urb = usb_alloc_urb(0, GFP_ATOMIC); | 130 | urb = usb_alloc_urb(0, GFP_ATOMIC); |
131 | if (!urb) { | 131 | if (!urb) { |
132 | dev_dbg(&dev->udev->dev, "Error allocating URB " | 132 | dev_dbg(&dev->udev->dev, |
133 | "in write_cmd_async!"); | 133 | "Error allocating URB in write_cmd_async!\n"); |
134 | return; | 134 | return; |
135 | } | 135 | } |
136 | 136 | ||
137 | req = kmalloc(sizeof *req, GFP_ATOMIC); | 137 | req = kmalloc(sizeof *req, GFP_ATOMIC); |
138 | if (!req) { | 138 | if (!req) { |
139 | dev_err(&dev->udev->dev, "Failed to allocate memory for " | 139 | dev_err(&dev->udev->dev, |
140 | "control request"); | 140 | "Failed to allocate memory for control request\n"); |
141 | goto out; | 141 | goto out; |
142 | } | 142 | } |
143 | req->bRequestType = MCS7830_WR_BMREQ; | 143 | req->bRequestType = MCS7830_WR_BMREQ; |
@@ -153,8 +153,8 @@ static void mcs7830_set_reg_async(struct usbnet *dev, u16 index, u16 size, void | |||
153 | 153 | ||
154 | ret = usb_submit_urb(urb, GFP_ATOMIC); | 154 | ret = usb_submit_urb(urb, GFP_ATOMIC); |
155 | if (ret < 0) { | 155 | if (ret < 0) { |
156 | dev_err(&dev->udev->dev, "Error submitting the control " | 156 | dev_err(&dev->udev->dev, |
157 | "message: ret=%d", ret); | 157 | "Error submitting the control message: ret=%d\n", ret); |
158 | goto out; | 158 | goto out; |
159 | } | 159 | } |
160 | return; | 160 | return; |