Merge tag 'staging-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[deliverable/linux.git] / drivers / staging / media / omap4iss / iss_csi2.c
index 7dbf68cd356616ee5985d87f9d26f97bf485423b..21971c675b8c518148f8b523ae134d8063222514 100644 (file)
@@ -1231,7 +1231,7 @@ static int csi2_init_entities(struct iss_csi2_device *csi2, const char *subname)
 
        v4l2_subdev_init(sd, &csi2_ops);
        sd->internal_ops = &csi2_internal_ops;
-       sprintf(name, "CSI2%s", subname);
+       snprintf(name, sizeof(name), "CSI2%s", subname);
        snprintf(sd->name, sizeof(sd->name), "OMAP4 ISS %s", name);
 
        sd->grp_id = 1 << 16;   /* group ID for iss subdevs */
This page took 0.029013 seconds and 5 git commands to generate.