diff options
author | Joe Perches <joe@perches.com> | 2014-02-25 15:01:40 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-02-25 15:25:42 -0800 |
commit | ff3a2b73b7d6d79038512d60690de18cd7aa4e21 (patch) | |
tree | 650a51667f86f0269be587bffaaf780198b2f151 | |
parent | 33b6c7765f0c20da9d61246a095acad0f98a1da5 (diff) | |
download | linux-stable-ff3a2b73b7d6d79038512d60690de18cd7aa4e21.tar.gz linux-stable-ff3a2b73b7d6d79038512d60690de18cd7aa4e21.tar.bz2 linux-stable-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>
-rw-r--r-- | drivers/iommu/omap-iommu-debug.c | 4 |
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) { |