mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
media: pci/cx23885: Replace strlcpy() with strscpy()
This commit is contained in:
@@ -1534,7 +1534,7 @@ static int dvb_register(struct cx23885_tsport *port)
|
||||
if (fe0->dvb.frontend != NULL)
|
||||
{
|
||||
fe0->dvb.frontend->ops.set_voltage = f300_set_voltage;
|
||||
strlcpy(fe0->dvb.frontend->ops.info.name,cx23885_boards[dev->board].name,52);
|
||||
strscpy(fe0->dvb.frontend->ops.info.name,cx23885_boards[dev->board].name,52);
|
||||
}
|
||||
break;
|
||||
case CX23885_BOARD_TBS_6980:
|
||||
@@ -1556,7 +1556,7 @@ static int dvb_register(struct cx23885_tsport *port)
|
||||
break;
|
||||
}
|
||||
if (fe0->dvb.frontend != NULL)
|
||||
strlcpy(fe0->dvb.frontend->ops.info.name,cx23885_boards[dev->board].name,52);
|
||||
strscpy(fe0->dvb.frontend->ops.info.name,cx23885_boards[dev->board].name,52);
|
||||
break;
|
||||
case CX23885_BOARD_TEVII_S470:
|
||||
i2c_bus = &dev->i2c_bus[1];
|
||||
|
Reference in New Issue
Block a user