projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269ddfc
)
HID: hyperv: fix _raw_request() prototype
author
Jiri Kosina
<jkosina@suse.cz>
Sat, 29 Mar 2014 01:40:42 +0000
(18:40 -0700)
committer
Jiri Kosina
<jkosina@suse.cz>
Sat, 29 Mar 2014 01:40:42 +0000
(18:40 -0700)
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>
drivers/hid/hid-hyperv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-hyperv.c
b/drivers/hid/hid-hyperv.c
index 866e6a86203cdafbd2a9b63b4bc9f0f2babd3beb..0658cc4578fe1b1165c2a129c1d8c25497906937 100644
(file)
--- 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)
{