Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304418
b: refs/heads/master
c: c471bf6
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Apr 24, 2012
1 parent 8337ea3 commit f32676e
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: 9b33da165ba857cdfd004df56f58d5ca612d78d9
refs/heads/master: c471bf65f78fc6841a2c59b1e9377b6b8d40965f
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 f32676e

Please sign in to comment.