mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [folded-merged] ipc-consolidate-all-xxxctl_down-functions-fix.patch removed from -mm tree
@ 2020-02-04  1:05 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2020-02-04  1:05 UTC (permalink / raw)
  To: mm-commits, natechancellor


The patch titled
     Subject: ipc/msg.c: Adjust indentation in ksys_msgctl
has been removed from the -mm tree.  Its filename was
     ipc-consolidate-all-xxxctl_down-functions-fix.patch

This patch was dropped because it was folded into ipc-consolidate-all-xxxctl_down-functions.patch

------------------------------------------------------
From: Nathan Chancellor <natechancellor@gmail.com>
Subject: ipc/msg.c: Adjust indentation in ksys_msgctl

Clang warns:

../ipc/msg.c:621:4: warning: misleading indentation; statement is not
part of the previous 'if' [-Wmisleading-indentation]
                 return msgctl_down(ns, msqid, cmd, &msqid64.msg_perm,
msqid64.msg_qbytes);
                 ^
../ipc/msg.c:619:3: note: previous statement is here
                if (copy_msqid_from_user(&msqid64, buf, version))
                ^
1 warning generated.

This warning occurs because there is a space after the tab on this line.
Remove it so that the indentation is consistent with the Linux kernel
coding style and clang no longer warns.

Link: https://github.com/ClangBuiltLinux/linux/issues/829
Link: http://lkml.kernel.org/r/20191218032932.37479-1-natechancellor@gmail.com
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 ipc/msg.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/ipc/msg.c~ipc-consolidate-all-xxxctl_down-functions-fix
+++ a/ipc/msg.c
@@ -618,7 +618,8 @@ static long ksys_msgctl(int msqid, int c
 	case IPC_SET:
 		if (copy_msqid_from_user(&msqid64, buf, version))
 			return -EFAULT;
-		 return msgctl_down(ns, msqid, cmd, &msqid64.msg_perm, msqid64.msg_qbytes);
+		return msgctl_down(ns, msqid, cmd, &msqid64.msg_perm,
+				   msqid64.msg_qbytes);
 	case IPC_RMID:
 		return msgctl_down(ns, msqid, cmd, NULL, 0);
 	default:
_

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

ipc-consolidate-all-xxxctl_down-functions.patch

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

only message in thread, other threads:[~2020-02-04  1:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04  1:05 [folded-merged] ipc-consolidate-all-xxxctl_down-functions-fix.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).