Skip to content
Commit 02829691 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] vivid-vid-out: use memdup_user()



Instead of allocating and coping from __user, do it using
one atomic call. That makes the code simpler.

Found by coccinelle.

Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 93623c87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment