Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368495
b: refs/heads/master
c: 7c21bb6
h: refs/heads/master
i:
  368493: 843a7fb
  368491: ba976af
  368487: b99ad8e
  368479: 2310535
v: v3
  • Loading branch information
Andrei Epure authored and John W. Linville committed Mar 11, 2013
1 parent 9f49084 commit 5b84676
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: 60c46bf8176bd4cf28314a8bf0cf26f2ddc3b793
refs/heads/master: 7c21bb6996d40f6bb21a015392be41ebb0e538c2
3 changes: 1 addition & 2 deletions trunk/drivers/net/wireless/rtlwifi/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,9 @@ static void _usb_writeN_sync(struct rtl_priv *rtlpriv, u32 addr, void *data,
u8 *buffer;

wvalue = (u16)(addr & 0x0000ffff);
buffer = kmalloc(len, GFP_ATOMIC);
buffer = kmemdup(data, len, GFP_ATOMIC);
if (!buffer)
return;
memcpy(buffer, data, len);
usb_control_msg(udev, pipe, request, reqtype, wvalue,
index, buffer, len, 50);

Expand Down

0 comments on commit 5b84676

Please sign in to comment.