mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + sysctl-add-kern_cont-to-deprecated_sysctl_warning.patch added to -mm tree
@ 2016-12-05 20:59 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2016-12-05 20:59 UTC (permalink / raw)
  To: penguin-kernel, ebiederm, mm-commits


The patch titled
     Subject: sysctl: add KERN_CONT to deprecated_sysctl_warning()
has been added to the -mm tree.  Its filename is
     sysctl-add-kern_cont-to-deprecated_sysctl_warning.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/sysctl-add-kern_cont-to-deprecated_sysctl_warning.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/sysctl-add-kern_cont-to-deprecated_sysctl_warning.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/SubmitChecklist when testing your code ***

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

------------------------------------------------------
From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Subject: sysctl: add KERN_CONT to deprecated_sysctl_warning()

Do not break lines while printk()ing values.

  kernel: warning: process `tomoyo_file_tes' used the deprecated sysctl system call with
  kernel: 3.
  kernel: 5.
  kernel: 56.
  kernel:

Link: http://lkml.kernel.org/r/1480814833-4976-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/sysctl_binary.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN kernel/sysctl_binary.c~sysctl-add-kern_cont-to-deprecated_sysctl_warning kernel/sysctl_binary.c
--- a/kernel/sysctl_binary.c~sysctl-add-kern_cont-to-deprecated_sysctl_warning
+++ a/kernel/sysctl_binary.c
@@ -1354,8 +1354,8 @@ static void deprecated_sysctl_warning(co
 			"warning: process `%s' used the deprecated sysctl "
 			"system call with ", current->comm);
 		for (i = 0; i < nlen; i++)
-			printk("%d.", name[i]);
-		printk("\n");
+			printk(KERN_CONT "%d.", name[i]);
+		printk(KERN_CONT "\n");
 	}
 	return;
 }
_

Patches currently in -mm which might be from penguin-kernel@I-love.SAKURA.ne.jp are

hung_task-decrement-sysctl_hung_task_warnings-only-if-it-is-positive.patch
sysctl-add-kern_cont-to-deprecated_sysctl_warning.patch


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

only message in thread, other threads:[~2016-12-05 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-05 20:59 + sysctl-add-kern_cont-to-deprecated_sysctl_warning.patch added to -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).