Skip to content

Commit

Permalink
HID: hyperv: fix _raw_request() prototype
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Kosina committed Mar 29, 2014
1 parent 269ddfc commit c3d77fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hid/hid-hyperv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit c3d77fa

Please sign in to comment.