[kexec patch 2/2] Fix ppc64 build warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 10, 2008 at 06:40:46PM -0700, Geoff Levand wrote:
> Fix these ppc64 32 bit build warnings:
> 
>  kexec/arch/ppc64/kexec-zImage-ppc64.c: In function 'zImage_ppc64_load':
>  kexec/arch/ppc64/kexec-zImage-ppc64.c:164: warning: cast to pointer from integer of different size
>  kexec/arch/ppc64/kexec-elf-ppc64.c: In function 'elf_ppc64_load':
>  kexec/arch/ppc64/kexec-elf-ppc64.c:121: warning: integer constant is too large for 'unsigned long' type
>  kexec/arch/ppc64/kexec-elf-ppc64.c:237: warning: cast from pointer to integer of different size
>  kexec/arch/ppc64/kexec-elf-ppc64.c:276: warning: cast from pointer to integer of different size
>  kexec/arch/ppc64/kexec-elf-ppc64.c:283: warning: cast from pointer to integer of different size
>  kexec/arch/ppc64/kexec-elf-ppc64.c:287: warning: cast from pointer to integer of different size
>  kexec/arch/ppc64/kexec-elf-ppc64.c:341: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'uint64_t'
>  kexec/arch/ppc64/kexec-elf-ppc64.c:352: warning: format '%ld' expects type 'long int', but argument 5 has type 'size_t'
>  kexec/arch/ppc64/crashdump-ppc64.c:45: warning: integer constant is too large for 'long' type
>  kexec/arch/ppc64/crashdump-ppc64.c:46: warning: integer constant is too large for 'long' type
>  kexec/arch/ppc64/crashdump-ppc64.c:56: warning: integer constant is too large for 'long' type
>  kexec/arch/ppc64/crashdump-ppc64.c:57: warning: integer constant is too large for 'long' type
> 
> Tested on PS3 (ppc64) with 32 and 64 bit builds. 

Thanks, applied.

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux