All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <46D33B3E.9080105@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index d18e6c7..54a891b 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -86,7 +86,7 @@ Or more descriptive log, why is this about to be done, please.
 > -static inline int is_init(struct task_struct *tsk)
 > +static inline int is_init(const struct task_struct *tsk)
 >  {
->  	return tsk->pid = 1;
+>  	return tsk->pid == 1;
 >  }
 > @@ -1639,7 +1639,7 @@ extern void wait_task_inactive(struct task_struct * p);
 >   * all we care about is that we have a task with the appropriate
@@ -95,7 +95,7 @@ Or more descriptive log, why is this about to be done, please.
 > -static inline int has_group_leader_pid(struct task_struct *p)
 > +static inline int has_group_leader_pid(const struct task_struct *p)
 >  {
->  	return p->pid = p->tgid;
+>  	return p->pid == p->tgid;
 >  }
 > @@ -1650,7 +1650,7 @@ static inline struct task_struct *next_thread(const struct task_struct *p)
 >  			  struct task_struct, thread_group);
diff --git a/a/content_digest b/N1/content_digest
index f9af163..1c9241e 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\01188247231.18004.129.camel@localhost\0"
  "From\0Jiri Slaby <jirislaby@gmail.com>\0"
  "Subject\0Re: [PATCH] trivial - constify sched.h\0"
- "Date\0Mon, 27 Aug 2007 20:59:42 +0000\0"
+ "Date\0Mon, 27 Aug 2007 22:59:42 +0200\0"
  "To\0Joe Perches <joe@perches.com>\0"
  "Cc\0Ingo Molnar <mingo@elte.hu>"
   linux-kernel@vger.kernel.org
@@ -96,7 +96,7 @@
  "> -static inline int is_init(struct task_struct *tsk)\n"
  "> +static inline int is_init(const struct task_struct *tsk)\n"
  ">  {\n"
- ">  \treturn tsk->pid = 1;\n"
+ ">  \treturn tsk->pid == 1;\n"
  ">  }\n"
  "> @@ -1639,7 +1639,7 @@ extern void wait_task_inactive(struct task_struct * p);\n"
  ">   * all we care about is that we have a task with the appropriate\n"
@@ -105,7 +105,7 @@
  "> -static inline int has_group_leader_pid(struct task_struct *p)\n"
  "> +static inline int has_group_leader_pid(const struct task_struct *p)\n"
  ">  {\n"
- ">  \treturn p->pid = p->tgid;\n"
+ ">  \treturn p->pid == p->tgid;\n"
  ">  }\n"
  "> @@ -1650,7 +1650,7 @@ static inline struct task_struct *next_thread(const struct task_struct *p)\n"
  ">  \t\t\t  struct task_struct, thread_group);\n"
@@ -125,4 +125,4 @@
  "Jiri Slaby (jirislaby@gmail.com)\n"
  Faculty of Informatics, Masaryk University
 
-09e44b9a86641809808a4daff495c7a85cdc092c8287036c011409cbbce71bdd
+bc6e91e6dbb4de7afae2bd607b62d18600dcf40b01a8cdc549178abddcfc5d64

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.