[PATCH] Use return value of count_dyn_reconf_memory_ranges()

Simon Horman horms at verge.net.au
Thu Oct 9 18:29:53 EDT 2008


On Thu, Oct 09, 2008 at 07:01:25PM +0200, Bernhard Walle wrote:
> This patch fixes the build error
> 
>     kexec/arch/ppc64/kexec-ppc64.c:140: \
>         warning: control reaches end of non-void function
> 
> The patch returns 0 on success, and checks when the function is called
> for a non-zero value.

Thanks Bernhard, applied.

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




More information about the kexec mailing list