OSDN Git Service

HID: Fix hid_report_len usage
authorAaron Ma <aaron.ma@canonical.com>
Sat, 3 Feb 2018 15:57:15 +0000 (23:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2018 07:34:11 +0000 (09:34 +0200)
commit10ab7c947d4921b962c7c2a6bffa2486d0cd127d
treee24b74d0bbb21f91a396e8c4fcef339be4c895be
parent5aa8b5b8846e519015742c9592e50d2d13fa83de
HID: Fix hid_report_len usage

commit 3064a03b94e60388f0955fcc29f3e8a978d28f75 upstream.

Follow the change of return type u32 of hid_report_len,
fix all the types of variables those get the return value of
hid_report_len to u32, and all other code already uses u32.

Cc: stable@vger.kernel.org
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-input.c
drivers/hid/hid-multitouch.c
drivers/hid/hid-rmi.c
drivers/hid/wacom_sys.c