]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/cma_debug.c
arm: dts: imx6: adjust ENET_REF_CLK padctl values for improved EMC compliance
[karo-tx-linux.git] / mm / cma_debug.c
index 595b757bef72722fb2715afd9ab0cd1536181c9e..c03ccbc405a066038619361cf995f675dc2efaa1 100644 (file)
@@ -167,7 +167,7 @@ static void cma_debugfs_add_one(struct cma *cma, int idx)
        char name[16];
        int u32s;
 
-       sprintf(name, "cma-%s", cma->name);
+       scnprintf(name, sizeof(name), "cma-%s", cma->name);
 
        tmp = debugfs_create_dir(name, cma_debugfs_root);