* [PATCH] omap: iommu: Fix decimal permissions
@ 2014-01-28 18:49 Joe Perches
0 siblings, 0 replies; only message in thread
From: Joe Perches @ 2014-01-28 18:49 UTC (permalink / raw)
To: Joerg Roedel, Hiroshi DOYU; +Cc: iommu, LKML
These should have been octal
Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/iommu/omap-iommu-debug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iommu/omap-iommu-debug.c b/drivers/iommu/omap-iommu-debug.c
index d97fbe4..80fffba 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)
{
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-28 18:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-28 18:49 [PATCH] omap: iommu: Fix decimal permissions Joe Perches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).