powerpc: fix powersave-nap sysctl registration
PATCH 1/1 powerpc: fix powersave-nap sysctl registration
The sysctl check code complains about a writable directory, fix it.
Signed-off-by Johannes Berg <[email protected]>
Cc Eric W. Biederman <[email protected]>
--- arch/powerpc/kernel/idle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/kernel/idle.c +1 -1
@@ -122,7 +122,7 @@ static ctl_table powersave_nap_sysctl_ro { .ctl_name = CTL_KERN, .procname = "kernel", - .mode = 0755, + .mode = 0555, .child = powersave_nap_ctl_table, }, {}
Quoted 2 lines · Johannes Berg
The sysctl check code complains about a writable directory, fix it.
Sorry, I missed that patch that fixed it already, please ignore.
johannes