Re: [PATCH] hid: export hid_report_len as an inline function in hid.h
From: David Herrmann
Date: Mon Dec 01 2014 - 14:04:08 EST
Hi
On Mon, Dec 1, 2014 at 7:22 PM, Benjamin Tissoires
<benjamin.tissoires@xxxxxxxxx> wrote:
> On Thu, Nov 27, 2014 at 10:02 AM, Mathieu Magnaudet
> <mathieu.magnaudet@xxxxxxxxx> wrote:
>> in several hid drivers it is necessary to calculate the length
>> of an hid_report. This patch exports the existing static function
>> hid_report_len of hid-core.c as an inline function in hid.h
>>
>> Signed-off-by: Mathieu Magnaudet <mathieu.magnaudet@xxxxxxx>
>> ---
>
> IIRC, there are a few more custom report length computations
> throughout the HID tree. They are not straightforward to convert, so I
> think we have a pretty good start here.
>
> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxx>
I fully agree!
Reviewed-by: David Herrmann <dh.herrmann@xxxxxxxxx>
Thanks
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/