summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/omap-iommu-debug.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-02-26 00:01:40 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-02-26 00:25:42 +0100
commitff3a2b73b7d6d79038512d60690de18cd7aa4e21 (patch)
tree650a51667f86f0269be587bffaaf780198b2f151 /drivers/iommu/omap-iommu-debug.c
parentmm, hwpoison: release page on PageHWPoison() in __do_fault() (diff)
downloadlinux-ff3a2b73b7d6d79038512d60690de18cd7aa4e21.tar.xz
linux-ff3a2b73b7d6d79038512d60690de18cd7aa4e21.zip
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 '')
-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)
{