Messages in this thread | | | Date | Mon, 1 Dec 2014 20:04:01 +0100 | Subject | Re: [PATCH] hid: export hid_report_len as an inline function in hid.h | From | David Herrmann <> |
| |
Hi
On Mon, Dec 1, 2014 at 7:22 PM, Benjamin Tissoires <benjamin.tissoires@gmail.com> wrote: > On Thu, Nov 27, 2014 at 10:02 AM, Mathieu Magnaudet > <mathieu.magnaudet@gmail.com> 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@enac.fr> >> --- > > 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@gmail.com>
I fully agree!
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Thanks David
| |