summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/cs53l32a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/cs53l32a.c')
-rw-r--r--drivers/media/i2c/cs53l32a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/cs53l32a.c b/drivers/media/i2c/cs53l32a.c
index fd70fe2130a1..ef4bdbae4531 100644
--- a/drivers/media/i2c/cs53l32a.c
+++ b/drivers/media/i2c/cs53l32a.c
@@ -149,7 +149,7 @@ static int cs53l32a_probe(struct i2c_client *client,
return -EIO;
if (!id)
- strlcpy(client->name, "cs53l32a", sizeof(client->name));
+ strscpy(client->name, "cs53l32a", sizeof(client->name));
v4l_info(client, "chip found @ 0x%x (%s)\n",
client->addr << 1, client->adapter->name);