debugfs: cma: fix bitmap_hex

Signed-off-by: Simon Xue <xxm@rock-chips.com>
Change-Id: I6193bcd72a4761b2e30bb8445c0e7ed1ffe00bf6
This commit is contained in:
Simon Xue 2024-01-29 17:35:28 +08:00 committed by Tao Huang
commit 77fc3bec80

View file

@ -96,7 +96,7 @@ static int cma_debugfs_add_one(struct cma *cma, struct dentry *root_dentry)
struct dentry *tmp;
char name[16];
scnprintf(name, sizeof(name), "cma-%s", cma->name);
scnprintf(name, sizeof(name), "%s", cma->name);
tmp = debugfs_lookup(name, root_dentry);
if (!tmp)