projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-3.15/hid-core-ll-transport-cleanup' into for-linus
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hid
/
hid-input.c
diff --git
a/drivers/hid/hid-input.c
b/drivers/hid/hid-input.c
index f5aef792f13b6dd235bdfcaf0b43cf6f9802cc48..333190f771f5f43afff8124ef4ca8279d3308acf 100644
(file)
--- a/
drivers/hid/hid-input.c
+++ b/
drivers/hid/hid-input.c
@@
-1178,7
+1178,7
@@
static void hidinput_led_worker(struct work_struct *work)
/* fall back to generic raw-output-report */
len = ((report->size - 1) >> 3) + 1 + (report->id > 0);
- buf =
kmalloc(len
, GFP_KERNEL);
+ buf =
hid_alloc_report_buf(report
, GFP_KERNEL);
if (!buf)
return;