Skip to contentSkip to conversation

kernel:signal - Fix for typos in comments.

PATCH In review Shailendra Verma 3 participants 3 messages May 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel:signal - Fix for typos in comments.

---
 kernel/signal.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/signal.c +2 -2
index d51c5dd..5c65e7c 100644
@@ -342,7 +342,7 @@ static bool task_participate_group_stop(struct task_struct *task)
 		sig->group_stop_count--;
 
 	/*
-	 * Tell the caller to notify completion iff we are entering into a
+	 * Tell the caller to notify completion if we are entering into a
 	 * fresh group stop.  Read comment in do_signal_stop() for details.
 	 */
 	if (!sig->group_stop_count && !(sig->flags & SIGNAL_STOP_STOPPED)) {
@@ -1864,7 +1864,7 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info)
 
 	/*
 	 * If @why is CLD_STOPPED, we're trapping to participate in a group
-	 * stop.  Do the bookkeeping.  Note that if SIGCONT was delievered
+	 * stop.  Do the bookkeeping.  Note that if SIGCONT was delivered
 	 * across siglock relocks since INTERRUPT was scheduled, PENDING
 	 * could be clear now.  We act as if SIGCONT is received after
 	 * TASK_TRACED is entered - ignore it.
Signature · 1 line
1.7.9.5
#1 lore raw

Am 23.05.2015 um 07:09 schrieb Shailendra Verma:

Quoted 10 lines
---
 kernel/signal.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/signal.c +0 -0
index d51c5dd..5c65e7c 100644

kernel/signal.c static bool task_participate_group_stop(struct task_struct *task) · line 345

Quoted 4 lines
kernel/signal.c +0 -1
@@ -342,7 +342,7 @@ static bool task_participate_group_stop(struct task_struct *task)
 		sig->group_stop_count--;
 
 	/*
-	 * Tell the caller to notify completion iff we are entering into a

http://en.wikipedia.org/wiki/If_and_only_if

Thanks,
//richard

#2 lore raw
In reply to Shailendra Verma

On Sat, May 23, 2015 at 1:09 AM, Shailendra Verma wrote:

Please include a changelog for every patch you submit exolaining why you think the change makes sense.

Quoted 11 lines
---
 kernel/signal.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/signal.c +0 -0
index d51c5dd..5c65e7c 100644

kernel/signal.c static bool task_participate_group_stop(struct task_struct *task) · line 345

Quoted 5 lines
kernel/signal.c +1 -1
@@ -342,7 +342,7 @@ static bool task_participate_group_stop(struct task_struct *task)
                sig->group_stop_count--;
 
        /*
-        * Tell the caller to notify completion iff we are entering into a
+        * Tell the caller to notify completion if we are entering into a

iff means "if and only if" and I think it makes perfect sense here. I encourage you to keep trying :)

Thanks!

Signature · 1 line
Pranith