All of lore.kernel.org
 help / color / mirror / Atom feed
* + ipc-mqueuec-fixed-a-brace-coding-style-issue.patch added to -mm tree
@ 2020-03-02 22:45 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2020-03-02 22:45 UTC (permalink / raw)
  To: mm-commits, somalaswaraj


The patch titled
     Subject: ipc/mqueue.c: fix a brace coding style issue
has been added to the -mm tree.  Its filename is
     ipc-mqueuec-fixed-a-brace-coding-style-issue.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/ipc-mqueuec-fixed-a-brace-coding-style-issue.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/ipc-mqueuec-fixed-a-brace-coding-style-issue.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Somala Swaraj <somalaswaraj@gmail.com>
Subject: ipc/mqueue.c: fix a brace coding style issue

Link: http://lkml.kernel.org/r/20200301135530.18340-1-somalaswaraj@gmail.com
Signed-off-by: somala swaraj <somalaswaraj@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 ipc/mqueue.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

--- a/ipc/mqueue.c~ipc-mqueuec-fixed-a-brace-coding-style-issue
+++ a/ipc/mqueue.c
@@ -239,11 +239,10 @@ static inline void msg_tree_erase(struct
 		info->msg_tree_rightmost = rb_prev(node);
 
 	rb_erase(node, &info->msg_tree);
-	if (info->node_cache) {
+	if (info->node_cache)
 		kfree(leaf);
-	} else {
+	else
 		info->node_cache = leaf;
-	}
 }
 
 static inline struct msg_msg *msg_get(struct mqueue_inode_info *info)
_

Patches currently in -mm which might be from somalaswaraj@gmail.com are

ipc-mqueuec-fixed-a-brace-coding-style-issue.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-02 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-02 22:45 + ipc-mqueuec-fixed-a-brace-coding-style-issue.patch added to -mm tree akpm

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.