[CRIU] [PATCH 3/3] arm: fix without typecast error
Pavel Emelyanov
xemul at parallels.com
Thu May 30 06:23:01 EDT 2013
On 05/30/2013 12:57 PM, Chanho Park wrote:
> This patch fixes below typecast error:
> error: assignment makes integer from pointer without a cast [-Werror]
>
> Signed-off-by: Chanho Park <chanho61.park at samsung.com>
> Signed-off-by: Myungjoo Ham <myungjoo.ham at samsung.com>
> ---
> arch/arm/crtools.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/crtools.c b/arch/arm/crtools.c
> index 9495448..a3e4bca 100644
> --- a/arch/arm/crtools.c
> +++ b/arch/arm/crtools.c
> @@ -40,7 +40,7 @@ void parasite_setup_regs(unsigned long new_ip, void *stack, user_regs_struct_t *
> {
> regs->ARM_pc = new_ip;
> if (stack)
> - regs->ARM_sp = stack;
> + regs->ARM_sp = (unsigned long)stack;
>
> /* Avoid end of syscall processing */
> regs->ARM_ORIG_r0 = -1;
>
Applied, thanks.
More information about the CRIU
mailing list