Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 58b949e0 authored by Benoit Taine's avatar Benoit Taine Committed by Felipe Balbi
Browse files

usb: gadget: 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>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent eac44dc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment