From: Mauro Carvalho Chehab Date: Sun, 17 Jul 2011 03:24:37 +0000 (-0300) Subject: si4713-i2c: avoid potential buffer overflow on si4713 X-Git-Tag: v3.0~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc6b845044ccb7e9e6f3b7e71bd179b3cf0223b6;p=pandora-kernel.git si4713-i2c: avoid potential buffer overflow on si4713 While compiling it with Fedora 15, I noticed this issue: inlined from ‘si4713_write_econtrol_string’ at drivers/media/radio/si4713-i2c.c:1065:24: arch/x86/include/asm/uaccess_32.h:211:26: error: call to ‘copy_from_user_overflow’ declared with attribute error: copy_from_user() buffer size is not provably correct Cc: stable@kernel.org Signed-off-by: Mauro Carvalho Chehab Acked-by: Sakari Ailus Acked-by: Eduardo Valentin Reviewed-by: Eugene Teo Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed