summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-08-29 19:25:01 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-08-29 19:25:01 -0300
commite42386aedc2aa6ffac0885f4bbac318bb5819ea6 (patch)
tree5458677fbd99df720d408a70c5fb74df067fad64 /linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.h
parentdee4b1d79231d5ddf2f0e3b033be9f7264301a7f (diff)
downloadmediapointer-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