public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Luis Chamberlain <mcgrof@kernel•org>
To: akpm@linux-foundation•org, keescook@chromium•org,
	yzaikin@google•com, nixiaoming@huawei•com, ebiederm@xmission•com,
	clemens@ladisch•de, arnd@arndb•de, gregkh@linuxfoundation•org,
	jani.nikula@linux•intel.com, joonas.lahtinen@linux•intel.com,
	rodrigo.vivi@intel•com, tvrtko.ursulin@linux•intel.com,
	airlied@linux•ie, "daniel@ffwll.chairlied"@linux.ie,
	benh@kernel•crashing.org, mark@fasheh•com, jlbec@evilplan•org,
	joseph.qi@linux•alibaba.com, jack@suse•cz, amir73il@gmail•com,
	phil@philpotter•co.uk, viro@zeniv•linux.org.uk,
	julia.lawall@inria•fr
Cc: intel-gfx@lists•freedesktop.org, linux-kernel@vger•kernel.org,
	dri-devel@lists•freedesktop.org,
	Luis Chamberlain <mcgrof@kernel•org>,
	linux-fsdevel@vger•kernel.org, linuxppc-dev@lists•ozlabs.org,
	ocfs2-devel@oss•oracle.com
Subject: [PATCH v2 0/8] sysctl: second set of kernel/sysctl cleanups
Date: Tue, 23 Nov 2021 12:24:14 -0800	[thread overview]
Message-ID: <20211123202422.819032-1-mcgrof@kernel.org> (raw)

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


             reply	other threads:[~2021-11-23 20:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-23 20:24 Luis Chamberlain [this message]
2021-11-23 20:24 ` [PATCH v2 1/8] hpet: simplify subdirectory registration with register_sysctl() Luis Chamberlain
2021-11-23 20:24 ` [PATCH v2 2/8] i915: " Luis Chamberlain
2021-11-25  9:41   ` Jani Nikula
2021-11-23 20:24 ` [PATCH v2 3/8] macintosh/mac_hid.c: " Luis Chamberlain
2021-11-23 20:24 ` [PATCH v2 4/8] ocfs2: " Luis Chamberlain
2021-11-24  9:49   ` Jan Kara
2021-11-23 20:24 ` [PATCH v2 5/8] test_sysctl: " Luis Chamberlain
2021-11-23 20:24 ` [PATCH v2 6/8] inotify: " Luis Chamberlain
2021-11-24  9:44   ` Jan Kara
2021-11-24 13:40     ` Luis Chamberlain
2021-11-23 20:24 ` [PATCH v2 7/8] cdrom: " Luis Chamberlain
2021-11-25  9:23   ` Phillip Potter
2021-11-23 20:24 ` [PATCH v2 8/8] eventpoll: simplify sysctl declaration " Luis Chamberlain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211123202422.819032-1-mcgrof@kernel.org \
    --to=mcgrof@kernel$(echo .)org \
    --cc="daniel@ffwll.chairlied"@linux.ie \
    --cc=airlied@linux$(echo .)ie \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=amir73il@gmail$(echo .)com \
    --cc=arnd@arndb$(echo .)de \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=clemens@ladisch$(echo .)de \
    --cc=dri-devel@lists$(echo .)freedesktop.org \
    --cc=ebiederm@xmission$(echo .)com \
    --cc=gregkh@linuxfoundation$(echo .)org \
    --cc=intel-gfx@lists$(echo .)freedesktop.org \
    --cc=jack@suse$(echo .)cz \
    --cc=jani.nikula@linux$(echo .)intel.com \
    --cc=jlbec@evilplan$(echo .)org \
    --cc=joonas.lahtinen@linux$(echo .)intel.com \
    --cc=joseph.qi@linux$(echo .)alibaba.com \
    --cc=julia.lawall@inria$(echo .)fr \
    --cc=keescook@chromium$(echo .)org \
    --cc=linux-fsdevel@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=mark@fasheh$(echo .)com \
    --cc=nixiaoming@huawei$(echo .)com \
    --cc=ocfs2-devel@oss$(echo .)oracle.com \
    --cc=phil@philpotter$(echo .)co.uk \
    --cc=rodrigo.vivi@intel$(echo .)com \
    --cc=tvrtko.ursulin@linux$(echo .)intel.com \
    --cc=viro@zeniv$(echo .)linux.org.uk \
    --cc=yzaikin@google$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox