aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2014-02-25 15:01:40 -0800
committerLinus Torvalds <[email protected]>2014-02-25 15:25:42 -0800
commitff3a2b73b7d6d79038512d60690de18cd7aa4e21 (patch)
tree650a51667f86f0269be587bffaaf780198b2f151
parent33b6c7765f0c20da9d61246a095acad0f98a1da5 (diff)
drivers/iommu/omap-iommu-debug.c: fix decimal permissions
These should have been octal. Signed-off-by: Joe Perches <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Hiroshi DOYU <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-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)
{