From: Jean Delvare Date: Wed, 3 Sep 2008 20:12:23 +0000 (-0300) Subject: V4L/DVB (8837): dvb: fix I2C adapters name size X-Git-Tag: v2.6.27-rc6~37^2~4^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d434012f23effdc69d58a88229159b57256f6ba;p=pandora-kernel.git V4L/DVB (8837): dvb: fix I2C adapters name size Some DVB drivers are incorrectly assuming that the size of i2c_adapter.name is I2C_NAME_SIZE. Here's a fix. Also change strncpy to strlcpy, as the former is error-prone (and was indeed incorrectly used.) Signed-off-by: Jean Delvare Acked-by: Uwe Bugla Reviewed-by: Michael Krufky Signed-off-by: Steven Toth Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed