From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg0-f41.google.com ([74.125.83.41]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cFIUu-0004Ps-OB for kexec@lists.infradead.org; Fri, 09 Dec 2016 10:33:55 +0000 Received: by mail-pg0-f41.google.com with SMTP id 3so6689704pgd.0 for ; Fri, 09 Dec 2016 02:33:27 -0800 (PST) Subject: Re: [PATCH kexec-tools] ia64: ehdr is not UNUSED in machine_apply_elf_rel References: <1481273359-1600-1-git-send-email-horms@verge.net.au> From: Pratyush Anand Message-ID: <76c2d3ff-99f9-5352-e477-343a22030a6a@redhat.com> Date: Fri, 9 Dec 2016 16:02:22 +0530 MIME-Version: 1.0 In-Reply-To: <1481273359-1600-1-git-send-email-horms@verge.net.au> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Simon Horman , kexec@lists.infradead.org Cc: Dave Young , Anton Blanchard On Friday 09 December 2016 02:19 PM, Simon Horman wrote: > The ehdr parameter of machine_apply_elf_rel() is used. > This resolves a build regression. > > Cc: Anton Blanchard > Cc: Dave Young > Fixes: 4a2ae3a39c64 ("Pass struct mem_sym into machine_apply_elf_rel()") > Signed-off-by: Simon Horman > --- > kexec/arch/ia64/kexec-elf-rel-ia64.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kexec/arch/ia64/kexec-elf-rel-ia64.c b/kexec/arch/ia64/kexec-elf-rel-ia64.c > index f847626b2508..7f7c08cba4b1 100644 > --- a/kexec/arch/ia64/kexec-elf-rel-ia64.c > +++ b/kexec/arch/ia64/kexec-elf-rel-ia64.c > @@ -72,7 +72,7 @@ bundle (const uint64_t insn) > return insn & ~0xfUL; > } > > -void machine_apply_elf_rel(struct mem_ehdr *UNUSED(ehdr), > +void machine_apply_elf_rel(struct mem_ehdr *ehdr, > struct mem_sym *UNUSED(sym), unsigned long r_type, void *location, > unsigned long address, unsigned long value) > { > Reviewed-by: Pratyush Anand _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec