Commit ff3a2b73 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

drivers/iommu/omap-iommu-debug.c: fix decimal permissions

These should have been octal.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 33b6c776
...@@ -354,8 +354,8 @@ DEBUG_FOPS(mem); ...@@ -354,8 +354,8 @@ DEBUG_FOPS(mem);
return -ENOMEM; \ return -ENOMEM; \
} }
#define DEBUG_ADD_FILE(name) __DEBUG_ADD_FILE(name, 600) #define DEBUG_ADD_FILE(name) __DEBUG_ADD_FILE(name, 0600)
#define DEBUG_ADD_FILE_RO(name) __DEBUG_ADD_FILE(name, 400) #define DEBUG_ADD_FILE_RO(name) __DEBUG_ADD_FILE(name, 0400)
static int iommu_debug_register(struct device *dev, void *data) static int iommu_debug_register(struct device *dev, void *data)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment