aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/safe_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/safe_serial.c')
-rw-r--r--drivers/usb/serial/safe_serial.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/serial/safe_serial.c b/drivers/usb/serial/safe_serial.c
index 5a03a3fc9386..86899d55d8d8 100644
--- a/drivers/usb/serial/safe_serial.c
+++ b/drivers/usb/serial/safe_serial.c
@@ -211,11 +211,13 @@ static void safe_read_bulk_callback (struct urb *urb)
211 unsigned char length = urb->actual_length; 211 unsigned char length = urb->actual_length;
212 int i; 212 int i;
213 int result; 213 int result;
214 int status = urb->status;
214 215
215 dbg ("%s", __FUNCTION__); 216 dbg ("%s", __FUNCTION__);
216 217
217 if (urb->status) { 218 if (status) {
218 dbg ("%s - nonzero read bulk status received: %d", __FUNCTION__, urb->status); 219 dbg("%s - nonzero read bulk status received: %d",
220 __FUNCTION__, status);
219 return; 221 return;
220 } 222 }
221 223