[CRIU] [PATCH 1/2] cr-restore.c: fixed compilation errors on ARM

Alexander Kartashov alekskartashov at parallels.com
Tue Mar 19 01:51:15 EDT 2013


On 03/18/2013 10:31 PM, Pavel Emelyanov wrote:
>> -			p = (void *)((off) * PAGE_SIZE +
>> >+			p = decode_pointer((off) * PAGE_SIZE +
>> >  					vma_premmaped_start(&vma->vma));
> This looks bogus. decode_pointer should convert u64 into void *, not
> unsigned long to void *.
>

The macro vma_premapped_start() returns uint64_t.

-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list