Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207946
b: refs/heads/master
c: 6c4b7f7
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Kaiser authored and Greg Kroah-Hartman committed Aug 10, 2010
1 parent 9582853 commit 9b1d958
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ba297edde4dd7376832bafb23e032a40d5928b56
refs/heads/master: 6c4b7f70ba5ffb7fa1d19d2518664ea6ddb3cbf3
4 changes: 3 additions & 1 deletion trunk/drivers/usb/atm/speedtch.c
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,9 @@ static struct usb_driver speedtch_usb_driver = {
.id_table = speedtch_usb_ids
};

static void speedtch_release_interfaces(struct usb_device *usb_dev, int num_interfaces) {
static void speedtch_release_interfaces(struct usb_device *usb_dev,
int num_interfaces)
{
struct usb_interface *cur_intf;
int i;

Expand Down
9 changes: 3 additions & 6 deletions trunk/drivers/usb/atm/usbatm.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@ static void usbatm_complete(struct urb *urb)

if (unlikely(status) &&
(!(channel->usbatm->flags & UDSL_IGNORE_EILSEQ) ||
status != -EILSEQ ))
{
status != -EILSEQ )) {
if (status == -ESHUTDOWN)
return;

Expand Down Expand Up @@ -516,8 +515,7 @@ static unsigned int usbatm_write_cells(struct usbatm_data *instance,
target[3] |= 0x2; /* adjust PTI */

ctrl->len = 0; /* tag this skb finished */
}
else
} else
ctrl->crc = crc32_be(ctrl->crc, ptr, left);
}

Expand Down Expand Up @@ -1390,9 +1388,8 @@ static int usbatm_print_packet(const unsigned char *data, int len)
for (i = 0; i < len;) {
buffer[0] = '\0';
sprintf(buffer, "%.3d :", i);
for (j = 0; (j < 16) && (i < len); j++, i++) {
for (j = 0; (j < 16) && (i < len); j++, i++)
sprintf(buffer, "%s %2.2x", buffer, data[i]);
}
dbg("%s", buffer);
}
return i;
Expand Down

0 comments on commit 9b1d958

Please sign in to comment.