linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ppc: simplify sysctl registration
@ 2023-03-10 23:28 Luis Chamberlain
  2023-03-10 23:28 ` [PATCH 1/2] ppc: simplify one-level sysctl registration for powersave_nap_ctl_table Luis Chamberlain
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Luis Chamberlain @ 2023-03-10 23:28 UTC (permalink / raw)
  To: mpe, npiggin, christophe.leroy
  Cc: j.granados, keescook, patches, linux-kernel, Luis Chamberlain,
	ebiederm, linux-fsdevel, yzaikin, linuxppc-dev

We can simplify the way we do sysctl registration both by
reducing the number of lines and also avoiding calllers which
could do recursion. The docs are being updated to help reflect
this better [0].

[0] https://lore.kernel.org/all/20230310223947.3917711-1-mcgrof@kernel.org/T/#u     

Luis Chamberlain (2):
  ppc: simplify one-level sysctl registration for
    powersave_nap_ctl_table
  ppc: simplify one-level sysctl registration for
    nmi_wd_lpm_factor_ctl_table

 arch/powerpc/kernel/idle.c                | 10 +---------
 arch/powerpc/platforms/pseries/mobility.c | 10 +---------
 2 files changed, 2 insertions(+), 18 deletions(-)

-- 
2.39.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-22 12:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 23:28 [PATCH 0/2] ppc: simplify sysctl registration Luis Chamberlain
2023-03-10 23:28 ` [PATCH 1/2] ppc: simplify one-level sysctl registration for powersave_nap_ctl_table Luis Chamberlain
2023-03-10 23:28 ` [PATCH 2/2] ppc: simplify one-level sysctl registration for nmi_wd_lpm_factor_ctl_table Luis Chamberlain
2023-03-22 12:25 ` [PATCH 0/2] ppc: simplify sysctl registration Michael Ellerman

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).