diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-24 03:36:29 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:56 -0500 |
commit | d161a13f974c72fd7ff0069d39a3ae57cb5694ff (patch) | |
tree | 0c6d6237b3eafbe362798d7727a02f509fd72ca9 /arch/powerpc | |
parent | 587a1f1659e8b330b8738ef4901832a2b63f0bed (diff) |
switch procfs to umode_t use
both proc_dir_entry ->mode and populating functions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/lparcfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/lparcfg.c b/arch/powerpc/kernel/lparcfg.c index 84daabe2fcba..578f35f18723 100644 --- a/arch/powerpc/kernel/lparcfg.c +++ b/arch/powerpc/kernel/lparcfg.c | |||
@@ -783,7 +783,7 @@ static const struct file_operations lparcfg_fops = { | |||
783 | static int __init lparcfg_init(void) | 783 | static int __init lparcfg_init(void) |
784 | { | 784 | { |
785 | struct proc_dir_entry *ent; | 785 | struct proc_dir_entry *ent; |
786 | mode_t mode = S_IRUSR | S_IRGRP | S_IROTH; | 786 | umode_t mode = S_IRUSR | S_IRGRP | S_IROTH; |
787 | 787 | ||
788 | /* Allow writing if we have FW_FEATURE_SPLPAR */ | 788 | /* Allow writing if we have FW_FEATURE_SPLPAR */ |
789 | if (firmware_has_feature(FW_FEATURE_SPLPAR) && | 789 | if (firmware_has_feature(FW_FEATURE_SPLPAR) && |