diff options
author | Suman Anna <s-anna@ti.com> | 2014-10-23 02:22:28 +0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-10-23 16:32:25 +0400 |
commit | 68570a744631ab4f2d378c9d7ef794e66e623a81 (patch) | |
tree | 02226b3cc1ec29ff6a7465d3e02cd97126b2420c /drivers | |
parent | bd4396f09a4a9e77423e92ec9448217ab46f6edf (diff) | |
download | linux-68570a744631ab4f2d378c9d7ef794e66e623a81.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/iommu/omap-iommu-debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/omap-iommu-debug.c b/drivers/iommu/omap-iommu-debug.c index 0fb92aa42c19..a520438182db 100644 --- a/drivers/iommu/omap-iommu-debug.c +++ b/drivers/iommu/omap-iommu-debug.c @@ -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; |