Skip to contentSkip to conversation

omap: iommu: Fix decimal permissions

PATCH New Joe Perches 1 participant 1 message Jan 28, 2014 IOMMU

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omap: iommu: Fix decimal permissions

These should have been octal

---
 drivers/iommu/omap-iommu-debug.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/iommu/omap-iommu-debug.c +2 -2
index d97fbe4..80fffba 100644
@@ -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)
 {