]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/cma_debug.c
powerpc/debug: Add missing warn flag to WARN_ON's non-builtin path
[karo-tx-linux.git] / mm / cma_debug.c
index ffc0c3d0ae64a610409d85a5ac5704c2a660ab0c..595b757bef72722fb2715afd9ab0cd1536181c9e 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-%d", idx);
+       sprintf(name, "cma-%s", cma->name);
 
        tmp = debugfs_create_dir(name, cma_debugfs_root);