Skip to content
Commit 662d4cea authored by Benoit Taine's avatar Benoit Taine Committed by Jiri Kosina
Browse files

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: default avatarBenoit Taine <benoit.taine@lip6.fr>
Reviewed-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 37c492c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment