diff options
author | Jean Delvare <[email protected]> | 2008-09-03 17:12:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2008-09-03 18:37:50 -0300 |
commit | 1d434012f23effdc69d58a88229159b57256f6ba (patch) | |
tree | 8d713db39a3fcf60cf1a9316aba31cdf3e23e1d8 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | c437d657c59921b048997d5bc1f5733670112902 (diff) |
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 <[email protected]>
Acked-by: Uwe Bugla <[email protected]>
Reviewed-by: Michael Krufky <[email protected]>
Signed-off-by: Steven Toth <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions