diff options
author | Jiri Kosina <jkosina@suse.cz> | 2014-03-28 21:40:42 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-03-28 21:40:42 -0400 |
commit | c3d77fab51f40821de91a744e4b514e9e4e76a7c (patch) | |
tree | f78d201edd4aeed720d3babe61e638d5e6e95453 /drivers/hid | |
parent | 269ddfc68a49ed885a32c4d6bedb088bd3312b8c (diff) |
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>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-hyperv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
457 | 457 | ||
458 | static int mousevsc_hid_raw_request(struct hid_device *hid, | 458 | static int mousevsc_hid_raw_request(struct hid_device *hid, |
459 | unsigned char report_num, | 459 | unsigned char report_num, |
460 | __u8 buf, size_t len, | 460 | __u8 *buf, size_t len, |
461 | unsigned char rtype, | 461 | unsigned char rtype, |
462 | int reqtype) | 462 | int reqtype) |
463 | { | 463 | { |