1
0
Fork 0

HID: hyperv: fix _raw_request() prototype

The 3rd argument is pointer to the buffer, not a single __u8.
This has no bad sideeffect, as the stub is not using any of its
argument, but better have it correct.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
hifive-unleashed-5.1
Jiri Kosina 2014-03-28 18:40:42 -07:00
parent 269ddfc68a
commit c3d77fab51
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ static void mousevsc_hid_stop(struct hid_device *hid)
static int mousevsc_hid_raw_request(struct hid_device *hid,
unsigned char report_num,
__u8 buf, size_t len,
__u8 *buf, size_t len,
unsigned char rtype,
int reqtype)
{