From: Jiri Kosina Date: Sat, 29 Mar 2014 01:40:42 +0000 (-0700) Subject: HID: hyperv: fix _raw_request() prototype X-Git-Tag: firefly_0821_release~176^2~4168^2~1^4~1 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c3d77fab51f40821de91a744e4b514e9e4e76a7c;p=firefly-linux-kernel-4.4.55.git 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 --- diff --git a/drivers/hid/hid-hyperv.c b/drivers/hid/hid-hyperv.c index 866e6a86203c..0658cc4578fe 100644 --- a/drivers/hid/hid-hyperv.c +++ b/drivers/hid/hid-hyperv.c @@ -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) {