lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <5bd0e3f4.947.18b2713112b.Coremail.chenguohua@jari.cn>
Date:   Fri, 13 Oct 2023 11:27:22 +0800 (GMT+08:00)
From:   chenguohua@...i.cn
To:     mcgrof@...nel.org, keescook@...omium.org, yzaikin@...gle.com
Cc:     linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
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 <chenguohua@...i.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ