Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303595
b: refs/heads/master
c: 92206f4
h: refs/heads/master
i:
  303593: c80350b
  303591: 780a384
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Apr 24, 2012
1 parent 6cf265e commit 2832aed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: b883052e0176d8c0c3b9375d19749c3897ad1bc2
refs/heads/master: 92206f47d969724023694b264196847d4c84487f
4 changes: 2 additions & 2 deletions trunk/drivers/staging/quatech_usb2/quatech_usb2.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,15 +541,15 @@ int qt2_open(struct tty_struct *tty, struct usb_serial_port *port)
dbg("port->write_urb == NULL, allocating one");
port->write_urb = usb_alloc_urb(0, GFP_KERNEL);
if (!port->write_urb) {
err("Allocating write URB failed");
dev_err(&port->dev, "Allocating write URB failed\n");
return -ENOMEM;
}
/* buffer same size as port0 */
port->bulk_out_size = dev_extra->buffer_size;
port->bulk_out_buffer = kmalloc(port->bulk_out_size,
GFP_KERNEL);
if (!port->bulk_out_buffer) {
err("Couldn't allocate bulk_out_buffer");
dev_err(&port->dev, "Couldn't allocate bulk_out_buffer\n");
return -ENOMEM;
}
}
Expand Down

0 comments on commit 2832aed

Please sign in to comment.