-
由 Jean Delvare 提交于
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: NJean Delvare <khali@linux-fr.org> Acked-by: NUwe Bugla <uwe.bugla@gmx.de> Reviewed-by: NMichael Krufky <mkrufky@linuxtv.org> Signed-off-by: NSteven Toth <stoth@hauppauge.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
1d434012