diff options
author | Benoit Taine <benoit.taine@lip6.fr> | 2014-05-26 17:21:25 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-05-27 00:41:05 +0200 |
commit | 662d4ceae8d45bc8634d9f4c9a9e05ef42041038 (patch) | |
tree | 3ba55ebb0c34ce87b5692d68148f0d48dd6c7f8d /drivers/hid/hid-debug.c | |
parent | 37c492c8f6a99870551fe2964b2dfce5d9e87375 (diff) | |
download | talos-obmc-linux-662d4ceae8d45bc8634d9f4c9a9e05ef42041038.tar.gz talos-obmc-linux-662d4ceae8d45bc8634d9f4c9a9e05ef42041038.zip |
HID: uhid: Use kmemdup instead of kmalloc + memcpy
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine <benoit.taine@lip6.fr>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-debug.c')
0 files changed, 0 insertions, 0 deletions