diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-08-29 19:25:01 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-08-29 19:25:01 -0300 |
commit | e42386aedc2aa6ffac0885f4bbac318bb5819ea6 (patch) | |
tree | 5458677fbd99df720d408a70c5fb74df067fad64 /linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.h | |
parent | dee4b1d79231d5ddf2f0e3b033be9f7264301a7f (diff) | |
download | mediapointer-dvb-s2-e42386aedc2aa6ffac0885f4bbac318bb5819ea6.tar.gz mediapointer-dvb-s2-e42386aedc2aa6ffac0885f4bbac318bb5819ea6.tar.bz2 |
dvb: fix I2C adapters name size
From: Jean Delvare <khali@linux-fr.org>
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@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.h')
0 files changed, 0 insertions, 0 deletions