|
@@ -70,7 +70,7 @@ static int mei_cl_device_probe(struct device *dev)
|
|
|
|
|
|
dev_dbg(dev, "Device probe\n");
|
|
dev_dbg(dev, "Device probe\n");
|
|
|
|
|
|
- strncpy(id.name, dev_name(dev), sizeof(id.name));
|
|
|
|
|
|
+ strlcpy(id.name, dev_name(dev), sizeof(id.name));
|
|
|
|
|
|
return driver->probe(device, &id);
|
|
return driver->probe(device, &id);
|
|
}
|
|
}
|