Skip to content
Commit 82096ecf authored by Tian Tao's avatar Tian Tao Committed by Mika Westerberg
Browse files

thunderbolt: Use kmemdup instead of kzalloc and memcpy



Fixes coccicheck warning:
drivers/thunderbolt/dma_test.c:302:13-20: WARNING opportunity for kmemdup.

Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 5c8fe583
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment