Skip to content

Commit

Permalink
drivers/iommu/omap-iommu-debug.c: fix decimal permissions
Browse files Browse the repository at this point in the history
These should have been octal.

Signed-off-by: Joe Perches <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: Hiroshi DOYU <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
JoePerches authored and torvalds committed Feb 25, 2014
1 parent 33b6c77 commit ff3a2b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/iommu/omap-iommu-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit ff3a2b7

Please sign in to comment.