Re: [PATCH v4 2/2] mips: Differentiate between 32 and 64 bit ELF header

From
Maciej W. Rozycki <hidden>
Date
2016-02-11 12:04:39
Also in
lkml
Reply to
Ralf Baechle, 2016-02-11
On Thu, 11 Feb 2016, Ralf Baechle wrote:
quoted
Signed-off-by: Daniel Wagner <redacted>
Suggested-by: Maciej W. Rozycki <redacted>
Reviewed-by: Maciej W. Rozycki <redacted>
Reported-by: Fengguang Wu <redacted>
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
Thread (30 messages) 30 messages, 4 authors, last reply 2016-02-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help