2023-10-13 03:29:13

by chenguohua

[permalink] [raw]
Subject: [PATCH] sysctl: Clean up errors in sysctl.h

Fix the following errors reported by checkpatch:

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

Signed-off-by: GuoHua Cheng <[email protected]>
---
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