Skip to content
Commit 8d23ada8 authored by Tian Tao's avatar Tian Tao Committed by Mauro Carvalho Chehab
Browse files

media: vidtv: Use kmemdup instead of kzalloc and memcpy



Fixes coccicheck warning:
drivers/media/test-drivers/vidtv/vidtv_psi.c:509:10-17: WARNING
opportunity for kmemdup

Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 4671c204
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment