From: Mauro Carvalho Chehab Date: Wed, 3 Sep 2014 17:57:30 +0000 (-0300) Subject: [media] vivid-vid-out: use memdup_user() X-Git-Tag: fixes-against-v3.18-rc2~130^2^2~280 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0282969190495950564fb0a7e6905881339a1ebc;p=pandora-kernel.git [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: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed