All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20210303214053.GA19445@altlinux.org>

diff --git a/a/1.txt b/N1/1.txt
index d123f88..88381c7 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -7,8 +7,8 @@ On Wed, Mar 03, 2021 at 03:30:19PM +0100, Oleg Nesterov wrote:
 > > >  static inline long syscall_get_error(struct task_struct *task,
 > > >  				     struct pt_regs *regs)
 > > >  {
-> > > -	return regs->r10 = -1 ? regs->r8:0;
-> > > +	return regs->r10 = -1 ? -regs->r8:0;
+> > > -	return regs->r10 == -1 ? regs->r8:0;
+> > > +	return regs->r10 == -1 ? -regs->r8:0;
 > > >  }
 > > >
 > > >  static inline long syscall_get_return_value(struct task_struct *task,
diff --git a/a/content_digest b/N1/content_digest
index 4da2d5c..2c7ba86 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -4,7 +4,7 @@
  "ref\020210303143018.GB28955@redhat.com\0"
  "From\0Dmitry V. Levin <ldv@altlinux.org>\0"
  "Subject\0Re: [PATCH] ia64: fix ptrace(PTRACE_SYSCALL_INFO_EXIT) sign\0"
- "Date\0Wed, 03 Mar 2021 21:40:53 +0000\0"
+ "Date\0Thu, 4 Mar 2021 00:40:53 +0300\0"
  "To\0Oleg Nesterov <oleg@redhat.com>\0"
  "Cc\0Sergei Trofimovich <slyfox@gentoo.org>"
   Tony Luck <tony.luck@intel.com>
@@ -23,8 +23,8 @@
  "> > >  static inline long syscall_get_error(struct task_struct *task,\n"
  "> > >  \t\t\t\t     struct pt_regs *regs)\n"
  "> > >  {\n"
- "> > > -\treturn regs->r10 = -1 ? regs->r8:0;\n"
- "> > > +\treturn regs->r10 = -1 ? -regs->r8:0;\n"
+ "> > > -\treturn regs->r10 == -1 ? regs->r8:0;\n"
+ "> > > +\treturn regs->r10 == -1 ? -regs->r8:0;\n"
  "> > >  }\n"
  "> > >\n"
  "> > >  static inline long syscall_get_return_value(struct task_struct *task,\n"
@@ -53,4 +53,4 @@
  "-- \n"
  ldv
 
-60bb9d07dc423d4d99edcf1542ddd2c2be419252b9298d39be6446d899be46d5
+95b61ff8943ef852712a327ca5bb09375647dda69a1909a0839d1f5bad8de5b5

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.