[PATCH] kexec: Fix compile errors in crashdump-mips.c

Simon Horman horms at verge.net.au
Mon Dec 3 02:59:56 EST 2012


On Thu, Nov 29, 2012 at 04:12:38PM -0800, David Daney wrote:
> On 11/29/2012 04:02 PM, Simon Horman wrote:
> >On Thu, Nov 29, 2012 at 12:02:49PM -0800, David Daney wrote:
> >>From: David Daney <david.daney at cavium.com>
> >>
> >>When building configured as '--host=mips64-octeon-linux-gnu' using
> >>GCC-4.7.0 there are two compile errors, fix them.
> >>
> >>Signed-off-by: David Daney <david.daney at cavium.com>
> >
> >Thanks, is the first hunk also ok on 32bit?
> 
> Yes,  in crashdump.h kern_size is declared as type unsigned long, so
> the proper printf format is ABI independent and should be "%lx"

Thanks, applied.



More information about the kexec mailing list