Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202021
b: refs/heads/master
c: feda79b
h: refs/heads/master
i:
  202019: e7478ed
v: v3
  • Loading branch information
Julia Lawall authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 9c68979 commit 7511936
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 230b27cd8e0494ecb463c0f3ae63d752c9d59666
refs/heads/master: feda79bffc19e5e1e442966853f58c3b9c7bac0b
3 changes: 1 addition & 2 deletions trunk/drivers/media/video/gspca/t613.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,12 +572,11 @@ static void reg_w_buf(struct gspca_dev *gspca_dev,
} else {
u8 *tmpbuf;

tmpbuf = kmalloc(len, GFP_KERNEL);
tmpbuf = kmemdup(buffer, len, GFP_KERNEL);
if (!tmpbuf) {
err("Out of memory");
return;
}
memcpy(tmpbuf, buffer, len);
usb_control_msg(gspca_dev->dev,
usb_sndctrlpipe(gspca_dev->dev, 0),
0,
Expand Down

0 comments on commit 7511936

Please sign in to comment.