All of lore.kernel.org
 help / color / mirror / Atom feed
From: chenguohua@jari.cn
To: mcgrof@kernel.org, keescook@chromium.org, yzaikin@google.com
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org
Subject: [PATCH] sysctl: Clean up errors in sysctl.h
Date: Fri, 13 Oct 2023 11:27:22 +0800 (GMT+08:00)	[thread overview]
Message-ID: <5bd0e3f4.947.18b2713112b.Coremail.chenguohua@jari.cn> (raw)

Fix the following errors reported by checkpatch:

ERROR: "foo * bar" should be "foo *bar"

Signed-off-by: GuoHua Cheng <chenguohua@jari.cn>
---
 include/linux/sysctl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 09d7429d67c0..3d6e5d6e2bd0 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -232,7 +232,7 @@ struct ctl_table_header *__register_sysctl_table(
 	const char *path, struct ctl_table *table, size_t table_size);
 struct ctl_table_header *register_sysctl_sz(const char *path, struct ctl_table *table,
 					    size_t table_size);
-void unregister_sysctl_table(struct ctl_table_header * table);
+void unregister_sysctl_table(struct ctl_table_header *table);
 
 extern int sysctl_init_bases(void);
 extern void __register_sysctl_init(const char *path, struct ctl_table *table,
@@ -274,7 +274,7 @@ static inline struct ctl_table_header *register_sysctl_sz(const char *path,
 	return NULL;
 }
 
-static inline void unregister_sysctl_table(struct ctl_table_header * table)
+static inline void unregister_sysctl_table(struct ctl_table_header *table)
 {
 }
 
-- 
2.17.1

                 reply	other threads:[~2023-10-13  3:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5bd0e3f4.947.18b2713112b.Coremail.chenguohua@jari.cn \
    --to=chenguohua@jari.cn \
    --cc=keescook@chromium.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=yzaikin@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.