Browse Source

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>
Joe Perches 11 năm trước cách đây
mục cha
commit
ff3a2b73b7
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      drivers/iommu/omap-iommu-debug.c

+ 2 - 2
drivers/iommu/omap-iommu-debug.c

@@ -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_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)
 static int iommu_debug_register(struct device *dev, void *data)
 {
 {