Re: [PATCH] HID: fix buffer allocations

2014-02-03 Thread Jiri Kosina
On Sat, 1 Feb 2014, Benjamin Tissoires wrote: > When using hid_output_report(), the buffer should be allocated by > hid_alloc_report_buf(), > not a custom malloc. > > Signed-off-by: Benjamin Tissoires Good catch, applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: sen

[PATCH] HID: fix buffer allocations

2014-02-01 Thread Benjamin Tissoires
When using hid_output_report(), the buffer should be allocated by hid_alloc_report_buf(), not a custom malloc. Signed-off-by: Benjamin Tissoires --- drivers/hid/hid-input.c | 2 +- drivers/hid/i2c-hid/i2c-hid.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers