+ kernel-fix-a-comment-error.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: kernel/signal.c: fix a comment error
has been added to the -mm tree.  Its filename is
     kernel-fix-a-comment-error.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/kernel-fix-a-comment-error.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/kernel-fix-a-comment-error.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: Weikang Shi <swkhack@xxxxxxxxx>
Subject: kernel/signal.c: fix a comment error

Because get_signal_to_deliver() was renamed to get_signal() the
comment should be fixed.

Link: http://lkml.kernel.org/r/1539179128-45709-1-git-send-email-swkhack@xxxxxxxxx
Signed-off-by: Weikang Shi <swkhack@xxxxxxxxx>
Reported-by: Christian Brauner <christian@xxxxxxxxxx>
Cc: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
Cc: Oleg Nesterov <oleg@xxxxxxxxxx>
Cc: Anna-Maria Gleixner <anna-maria@xxxxxxxxxxxxx>
Cc: "Luck, Tony" <tony.luck@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


diff -puN arch/ia64/kernel/signal.c~kernel-fix-a-comment-error arch/ia64/kernel/signal.c
--- a/arch/ia64/kernel/signal.c~kernel-fix-a-comment-error
+++ a/arch/ia64/kernel/signal.c
@@ -378,10 +378,10 @@ ia64_do_signal (struct sigscratch *scr,
 		get_signal(&ksig);
 
 		/*
-		 * get_signal_to_deliver() may have run a debugger (via notify_parent())
+		 * get_signal() may have run a debugger (via notify_parent())
 		 * and the debugger may have modified the state (e.g., to arrange for an
 		 * inferior call), thus it's important to check for restarting _after_
-		 * get_signal_to_deliver().
+		 * get_signal().
 		 */
 		if ((long) scr->pt.r10 != -1)
 			/*
diff -puN kernel/signal.c~kernel-fix-a-comment-error kernel/signal.c
--- a/kernel/signal.c~kernel-fix-a-comment-error
+++ a/kernel/signal.c
@@ -885,7 +885,7 @@ static bool prepare_signal(int sig, stru
 			/*
 			 * The first thread which returns from do_signal_stop()
 			 * will take ->siglock, notice SIGNAL_CLD_MASK, and
-			 * notify its parent. See get_signal_to_deliver().
+			 * notify its parent. See get_signal().
 			 */
 			signal_set_stop_flags(signal, why | SIGNAL_STOP_CONTINUED);
 			signal->group_stop_count = 0;
_

Patches currently in -mm which might be from swkhack@xxxxxxxxx are

kernel-fix-a-comment-error.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux