diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-09-03 20:12:23 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-09-03 21:37:50 (GMT) |
commit | 1d434012f23effdc69d58a88229159b57256f6ba (patch) | |
tree | 8d713db39a3fcf60cf1a9316aba31cdf3e23e1d8 /crypto/chainiv.c | |
parent | c437d657c59921b048997d5bc1f5733670112902 (diff) | |
download | linux-1d434012f23effdc69d58a88229159b57256f6ba.tar.xz |
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 <khali@linux-fr.org>
Acked-by: Uwe Bugla <uwe.bugla@gmx.de>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'crypto/chainiv.c')
0 files changed, 0 insertions, 0 deletions