From: Andy Walls Date: Mon, 20 Dec 2010 00:59:56 +0000 (-0300) Subject: [media] ivtv: Return EFAULT when copy_from_user() fails in ivtv_write_vbi_from_user() X-Git-Tag: v2.6.38-rc1~470^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddda424999817fbc17adf9013feb066903382ede;p=pandora-kernel.git [media] ivtv: Return EFAULT when copy_from_user() fails in ivtv_write_vbi_from_user() If write() on a VBI device node fails due to a bad buffer pointer from userspace, we should notify the application properly with EFAULT, per the V4L2 API spec. Signed-off-by: Andy Walls Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed