summaryrefslogtreecommitdiff
path: root/drivers/iommu/omap-iommu-debug.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-02-26 03:01:40 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-02-26 03:25:42 +0400
commitff3a2b73b7d6d79038512d60690de18cd7aa4e21 (patch)
tree650a51667f86f0269be587bffaaf780198b2f151 /drivers/iommu/omap-iommu-debug.c
parent33b6c7765f0c20da9d61246a095acad0f98a1da5 (diff)
downloadlinux-ff3a2b73b7d6d79038512d60690de18cd7aa4e21.tar.xz
drivers/iommu/omap-iommu-debug.c: fix decimal permissions
These should have been octal. Signed-off-by: Joe Perches <joe@perches.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/iommu/omap-iommu-debug.c')
-rw-r--r--drivers/iommu/omap-iommu-debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/omap-iommu-debug.c b/drivers/iommu/omap-iommu-debug.c
index d97fbe4fb9b1..80fffba7f12d 100644
--- a/drivers/iommu/omap-iommu-debug.c
+++ b/drivers/iommu/omap-iommu-debug.c
@@ -354,8 +354,8 @@ DEBUG_FOPS(mem);
return -ENOMEM; \
}
-#define DEBUG_ADD_FILE(name) __DEBUG_ADD_FILE(name, 600)
-#define DEBUG_ADD_FILE_RO(name) __DEBUG_ADD_FILE(name, 400)
+#define DEBUG_ADD_FILE(name) __DEBUG_ADD_FILE(name, 0600)
+#define DEBUG_ADD_FILE_RO(name) __DEBUG_ADD_FILE(name, 0400)
static int iommu_debug_register(struct device *dev, void *data)
{