Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195182
b: refs/heads/master
c: 5476b8b
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed May 18, 2010
1 parent 012a24b commit 50ac15f
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: 99bf236612801351834b441314379bc5304d62ce
refs/heads/master: 5476b8b22589fe118f3c228d71406455002b79b1
3 changes: 1 addition & 2 deletions trunk/drivers/net/usb/dm9601.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,9 @@ static int dm_write(struct usbnet *dev, u8 reg, u16 length, void *data)
netdev_dbg(dev->net, "dm_write() reg=0x%02x, length=%d\n", reg, length);

if (data) {
buf = kmalloc(length, GFP_KERNEL);
buf = kmemdup(data, length, GFP_KERNEL);
if (!buf)
goto out;
memcpy(buf, data, length);
}

err = usb_control_msg(dev->udev,
Expand Down

0 comments on commit 50ac15f

Please sign in to comment.