Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45500
b: refs/heads/master
c: d6509c3
h: refs/heads/master
v: v3
  • Loading branch information
Ahmed S. Darwish authored and Jiri Kosina committed Jan 8, 2007
1 parent 0a1cc12 commit 0b8ac9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 35068976916fdef82d6e69ef1f8c9a1c47732759
refs/heads/master: d6509c36ba333282362e5f9769869f8a8d790aaf
2 changes: 1 addition & 1 deletion trunk/drivers/hid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ struct hid_device *hid_parse_report(__u8 *start, unsigned size)
for (i = 0; i < HID_REPORT_TYPES; i++)
INIT_LIST_HEAD(&device->report_enum[i].report_list);

if (!(device->rdesc = (__u8 *)kmalloc(size, GFP_KERNEL))) {
if (!(device->rdesc = kmalloc(size, GFP_KERNEL))) {
kfree(device->collection);
kfree(device);
return NULL;
Expand Down

0 comments on commit 0b8ac9d

Please sign in to comment.