All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH v2 0/8] sysctl: second set of kernel/sysctl cleanups
@ 2021-11-23 20:24 ` Luis Chamberlain
  0 siblings, 0 replies; 42+ messages in thread
From: Luis Chamberlain @ 2021-11-23 20:24 UTC (permalink / raw)
  To: akpm, keescook, yzaikin, nixiaoming, ebiederm, clemens, arnd,
	gregkh, jani.nikula, joonas.lahtinen, rodrigo.vivi,
	tvrtko.ursulin, airlied, "daniel, benh, mark, jlbec,
	joseph.qi, jack, amir73il, phil, viro, julia.lawall
  Cc: intel-gfx, linux-kernel, dri-devel, Luis Chamberlain,
	linux-fsdevel, linuxppc-dev, ocfs2-devel

This is the 2nd set of kernel/sysctl.c cleanups. The diff stat should
reflect how this is a much better way to deal with theses. Fortunately
coccinelle can be used to ensure correctness for most of these and/or
future merge conflicts.

Note that since this is part of a larger effort to cleanup
kernel/sysctl.c I think we have no other option but to go with
merging these patches in either Andrew's tree or keep them staged
in a separate tree and send a merge request later. Otherwise
kernel/sysctl.c will end up becoming a sore spot for the next
merge window.

Changes in this v2:

 * As suggested by Eric W. Biederman I dropped the subdir new call
   and just used the register_sysctl() by specifying the parent
   directory.
 * 0-day cleanups, commit log enhancements
 * Updated the coccinelle patch with register_sysctl()

Luis Chamberlain (6):
  hpet: simplify subdirectory registration with register_sysctl()
  i915: simplify subdirectory registration with register_sysctl()
  macintosh/mac_hid.c: simplify subdirectory registration with
    register_sysctl()
  ocfs2: simplify subdirectory registration with register_sysctl()
  test_sysctl: simplify subdirectory registration with register_sysctl()
  cdrom: simplify subdirectory registration with register_sysctl()

Xiaoming Ni (2):
  inotify: simplify subdirectory registration with register_sysctl()
  eventpoll: simplify sysctl declaration with register_sysctl()

 drivers/cdrom/cdrom.c            | 23 +----------------------
 drivers/char/hpet.c              | 22 +---------------------
 drivers/gpu/drm/i915/i915_perf.c | 22 +---------------------
 drivers/macintosh/mac_hid.c      | 24 +-----------------------
 fs/eventpoll.c                   | 10 +++++++++-
 fs/notify/inotify/inotify_user.c | 11 ++++++++++-
 fs/ocfs2/stackglue.c             | 25 +------------------------
 include/linux/inotify.h          |  3 ---
 include/linux/poll.h             |  2 --
 include/linux/sysctl.h           |  1 -
 kernel/sysctl.c                  | 28 ----------------------------
 lib/test_sysctl.c                | 22 +---------------------
 12 files changed, 25 insertions(+), 168 deletions(-)

-- 
2.33.0


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

end of thread, other threads:[~2021-11-29 13:00 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-23 20:24 [Intel-gfx] [PATCH v2 0/8] sysctl: second set of kernel/sysctl cleanups Luis Chamberlain
2021-11-23 20:24 ` Luis Chamberlain
2021-11-23 20:24 ` [Intel-gfx] [PATCH v2 1/8] hpet: simplify subdirectory registration with register_sysctl() Luis Chamberlain
2021-11-23 20:24   ` Luis Chamberlain
2021-11-23 20:24 ` [Intel-gfx] [PATCH v2 2/8] i915: " Luis Chamberlain
2021-11-23 20:24   ` Luis Chamberlain
2021-11-25  9:41   ` [Intel-gfx] " Jani Nikula
2021-11-25  9:41     ` Jani Nikula
2021-11-25  9:41     ` Jani Nikula
2021-11-23 20:24 ` [Intel-gfx] [PATCH v2 3/8] macintosh/mac_hid.c: " Luis Chamberlain
2021-11-23 20:24   ` Luis Chamberlain
2021-11-23 20:24 ` [Intel-gfx] [PATCH v2 4/8] ocfs2: " Luis Chamberlain
2021-11-23 20:24   ` Luis Chamberlain
2021-11-24  9:49   ` [Intel-gfx] " Jan Kara
2021-11-24  9:49     ` Jan Kara
2021-11-24  9:49     ` Jan Kara
2021-11-24  9:49     ` Jan Kara
2021-11-24  9:49     ` [Ocfs2-devel] " Jan Kara via Ocfs2-devel
2021-11-23 20:24 ` [Intel-gfx] [PATCH v2 5/8] test_sysctl: " Luis Chamberlain
2021-11-23 20:24   ` Luis Chamberlain
2021-11-23 20:24 ` [Intel-gfx] [PATCH v2 6/8] inotify: " Luis Chamberlain
2021-11-23 20:24   ` Luis Chamberlain
2021-11-24  9:44   ` [Intel-gfx] " Jan Kara
2021-11-24  9:44     ` Jan Kara
2021-11-24  9:44     ` Jan Kara
2021-11-24  9:44     ` Jan Kara
2021-11-24  9:44     ` [Ocfs2-devel] " Jan Kara via Ocfs2-devel
2021-11-24 13:40     ` [Intel-gfx] " Luis Chamberlain
2021-11-24 13:40       ` Luis Chamberlain
2021-11-24 13:40       ` Luis Chamberlain
2021-11-24 13:40       ` Luis Chamberlain
2021-11-24 13:40       ` [Ocfs2-devel] " Luis Chamberlain via Ocfs2-devel
2021-11-23 20:24 ` [Intel-gfx] [PATCH v2 7/8] cdrom: " Luis Chamberlain
2021-11-23 20:24   ` Luis Chamberlain
2021-11-25  9:23   ` [Intel-gfx] " Phillip Potter
2021-11-25  9:23     ` Phillip Potter
2021-11-25  9:23     ` Phillip Potter
2021-11-25  9:23     ` Phillip Potter
2021-11-23 20:24 ` [Intel-gfx] [PATCH v2 8/8] eventpoll: simplify sysctl declaration " Luis Chamberlain
2021-11-23 20:24   ` Luis Chamberlain
2021-11-23 22:56 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for sysctl: second set of kernel/sysctl cleanups Patchwork
2021-11-24 13:59 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for sysctl: second set of kernel/sysctl cleanups (rev2) Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.