2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 01:34:00 +08:00

iommu/omap: Fix the permissions on nr_tlb_entries

The permissions on the debugfs entry "nr_tlb_entries" should
have been octal, not decimal, so fix it.

Signed-off-by: Suman Anna <s-anna@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
This commit is contained in:
Suman Anna 2014-10-22 17:22:28 -05:00 committed by Joerg Roedel
parent bd4396f09a
commit 68570a7446

View File

@ -256,7 +256,7 @@ static int iommu_debug_register(struct device *dev, void *data)
goto nomem;
parent = d;
d = debugfs_create_u8("nr_tlb_entries", 400, parent,
d = debugfs_create_u8("nr_tlb_entries", 0400, parent,
(u8 *)&obj->nr_tlb_entries);
if (!d)
goto nomem;