mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Malkoot Khan <engr.mkhan1990@gmail.com>
To: riel@surriel.com
Cc: viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org,
	Malkoot Khan <engr.mkhan1990@gmail.com>
Subject: [PATCH] ipc/util.h: Move opening brace to next line for function definition
Date: Thu, 28 Dec 2023 20:09:56 +0000	[thread overview]
Message-ID: <20231228200956.112682-1-engr.mkhan1990@gmail.com> (raw)

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@gmail.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


                 reply	other threads:[~2023-12-28 20:10 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=20231228200956.112682-1-engr.mkhan1990@gmail.com \
    --to=engr.mkhan1990@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@surriel.com \
    --cc=viro@zeniv.linux.org.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®