All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: Randy Dunlap <rdunlap@infradead.org>, akpm@linux-foundation.org
Cc: akpm@linux-foundation.org, broonie@kernel.org, mhocko@suse.cz,
	sfr@canb.auug.org.au, linux-next@vger.kernel.org,
	linux-fsdevel@vger.kernel.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org,
	Richard Weinberger <richard@nod.at>
Subject: [PATCH -mm] elf: fixup compilation
Date: Tue, 5 Feb 2019 09:43:34 +0300	[thread overview]
Message-ID: <20190205064334.GA2152@avx2> (raw)
In-Reply-To: <08a894b1-66f6-19bf-67be-c9b7b1b01126@infradead.org>

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

	fold into elf-use-list_for_each_entry.patch

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

--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -2110,8 +2110,8 @@ static int write_note_info(struct elf_note_info *info,
 
 	/* write out the thread status notes section */
 	list_for_each_entry(ets, &info->thread_list, list) {
-		for (i = 0; i < tmp->num_notes; i++)
-			if (!writenote(&tmp->notes[i], cprm))
+		for (i = 0; i < ets->num_notes; i++)
+			if (!writenote(&ets->notes[i], cprm))
 				return 0;
 	}
 

WARNING: multiple messages have this Message-ID
From: Alexey Dobriyan <adobriyan@gmail.com>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: akpm@linux-foundation.org, broonie@kernel.org, mhocko@suse.cz,
	sfr@canb.auug.org.au, linux-next@vger.kernel.org,
	linux-fsdevel@vger.kernel.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org,
	Richard Weinberger <richard@nod.at>
Subject: [PATCH -mm] elf: fixup compilation
Date: Tue, 5 Feb 2019 09:43:34 +0300	[thread overview]
Message-ID: <20190205064334.GA2152@avx2> (raw)
In-Reply-To: <08a894b1-66f6-19bf-67be-c9b7b1b01126@infradead.org>

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

	fold into elf-use-list_for_each_entry.patch

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

--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -2110,8 +2110,8 @@ static int write_note_info(struct elf_note_info *info,
 
 	/* write out the thread status notes section */
 	list_for_each_entry(ets, &info->thread_list, list) {
-		for (i = 0; i < tmp->num_notes; i++)
-			if (!writenote(&tmp->notes[i], cprm))
+		for (i = 0; i < ets->num_notes; i++)
+			if (!writenote(&ets->notes[i], cprm))
 				return 0;
 	}
 

  reply	other threads:[~2019-02-05  6:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-05  1:48 mmotm 2019-02-04-17-47 uploaded akpm
2019-02-05  4:26 ` mmotm 2019-02-04-17-47 uploaded (fs/binfmt_elf.c) Randy Dunlap
2019-02-05  6:43   ` Alexey Dobriyan [this message]
2019-02-05  6:43     ` [PATCH -mm] elf: fixup compilation Alexey Dobriyan
2019-02-05  7:58   ` mmotm 2019-02-04-17-47 uploaded (fs/binfmt_elf.c) Stephen Rothwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190205064334.GA2152@avx2 \
    --to=adobriyan@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=broonie@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-next@vger.kernel.org \
    --cc=mhocko@suse.cz \
    --cc=mm-commits@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=richard@nod.at \
    --cc=sfr@canb.auug.org.au \
    --subject='Re: [PATCH -mm] elf: fixup compilation' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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.