[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1602111153320.15885@tp.orcam.me.uk>
Date: Thu, 11 Feb 2016 12:04:35 +0000
From: "Maciej W. Rozycki" <macro@...tec.com>
To: Ralf Baechle <ralf@...ux-mips.org>
CC: Daniel Wagner <daniel.wagner@...-carit.de>,
<linux-kernel@...r.kernel.org>, <linux-mips@...ux-mips.org>
Subject: Re: [PATCH v4 2/2] mips: Differentiate between 32 and 64 bit ELF
header
On Thu, 11 Feb 2016, Ralf Baechle wrote:
> > Signed-off-by: Daniel Wagner <daniel.wagner@...-carit.de>
> > Suggested-by: Maciej W. Rozycki <macro@...tec.com>
> > Reviewed-by: Maciej W. Rozycki <macro@...tec.com>
> > Reported-by: Fengguang Wu <fengguang.wu@...el.com>
>
> Thanks, applied.
>
> I'm getting a less spectacular warning from gcc 5.2:
>
> CC fs/proc/vmcore.o
> fs/proc/vmcore.c: In function ‘parse_crash_elf64_headers’:
> fs/proc/vmcore.c:939:47: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
Yes, the temporaries still need to have their pointed types changed, to
`Elf32_Ehdr' and `Elf64_Ehdr' respectively, as in the original change.
I had it mentioned in a WIP version of my review (stating that it would
verify that the correct type is used by the caller), but then deleted that
part inadvertently, sigh.
Daniel, sorry for the extra iteration.
Maciej
Powered by blists - more mailing lists