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]
Date: Thu, 28 Dec 2023 20:09:56 +0000
From: Malkoot Khan <engr.mkhan1990@...il.com>
To: riel@...riel.com
Cc: viro@...iv.linux.org.uk,
	linux-kernel@...r.kernel.org,
	Malkoot Khan <engr.mkhan1990@...il.com>
Subject: [PATCH] ipc/util.h: Move opening brace to next line for function definition

The Linux kernel coding style prescribes that the opening brace '{' for
function definitions should be on the next line. This patch adjusts the
opening brace of a function in ipc/util.h to conform to this style. Moving
the brace to the next line rectifies a coding style issue observed during
review and aligns the code with kernel coding standards.

Signed-off-by: Malkoot Khan <engr.mkhan1990@...il.com>
---
 ipc/util.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ipc/util.h b/ipc/util.h
index 67bdd2aa2c28..94c167847628 100644
--- a/ipc/util.h
+++ b/ipc/util.h
@@ -244,7 +244,8 @@ int ipcget(struct ipc_namespace *ns, struct ipc_ids *ids,
 void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids,
 		void (*free)(struct ipc_namespace *, struct kern_ipc_perm *));
 
-static inline int sem_check_semmni(struct ipc_namespace *ns) {
+static inline int sem_check_semmni(struct ipc_namespace *ns)
+{
 	/*
 	 * Check semmni range [0, ipc_mni]
 	 * semmni is the last element of sem_ctls[4] array
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ