projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hid
/
hid-roccat-lua.c
diff --git
a/drivers/hid/hid-roccat-lua.c
b/drivers/hid/hid-roccat-lua.c
index 6adc0fa08d96fc57fcb6d078ca9ca18c08415801..65e2e76bf2fe559cc5392d9848bde77fd6047ef1 100644
(file)
--- a/
drivers/hid/hid-roccat-lua.c
+++ b/
drivers/hid/hid-roccat-lua.c
@@
-61,7
+61,7
@@
static ssize_t lua_sysfs_write(struct file *fp, struct kobject *kobj,
return -EINVAL;
mutex_lock(&lua->lua_lock);
- retval = roccat_common2_send(usb_dev, command,
(void *)
buf, real_size);
+ retval = roccat_common2_send(usb_dev, command, buf, real_size);
mutex_unlock(&lua->lua_lock);
return retval ? retval : real_size;