Skip to contentSkip to conversation

powerpc: fix powersave-nap sysctl registration

PATCH In review Johannes Berg 1 participant 2 messages Nov 8, 2007 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: fix powersave-nap sysctl registration

The sysctl check code complains about a writable directory, fix it.

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,
 	},
 	{}
#1 lore raw
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