Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
drivers/hid/hid-hyperv.c
··· 457 457 458 458 static int mousevsc_hid_raw_request(struct hid_device *hid, 459 459 unsigned char report_num, 460 - __u8 buf, size_t len, 460 + __u8 *buf, size_t len, 461 461 unsigned char rtype, 462 462 int reqtype) 463 463 {