<div dir="ltr">Thanks! These patch fixes <a href="https://ci.openvz.org/job/CRIU/job/CRIU-virtuozzo/job/criu-dev/1174/console">https://ci.openvz.org/job/CRIU/job/CRIU-virtuozzo/job/criu-dev/1174/console</a><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br>Best Regards, Tikhomirov Pavel.</div></div></div>
<br><div class="gmail_quote">2016-12-08 16:28 GMT+03:00 Cyrill Gorcunov <span dir="ltr">&lt;<a href="mailto:gorcunov@gmail.com" target="_blank">gorcunov@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Dec 08, 2016 at 04:25:48PM +0300, Pavel Emelyanov wrote:<br>
&gt; &gt; +<br>
&gt; &gt; +   if (value &lt; default_mmap_min_addr) {<br>
&gt; &gt; +           pr_debug(&quot;Adjust mmap_min_addr %#lx -&gt; %#lx\n&quot;,<br>
&gt; &gt; +                    value, default_mmap_min_addr);<br>
&gt;<br>
&gt; This doesn&#39;t build on ARM.<br>
&gt;<br>
&gt; In file included from criu/kerndat.c:16:0:<br>
&gt; criu/kerndat.c: In function &#39;kerndat_get_mmap_min_addr&#39;:<br>
&gt; criu/kerndat.c:136:12: error: format &#39;%lx&#39; expects argument of type &#39;long unsigned int&#39;, but argument 3 has type &#39;uint64_t {aka long long unsigned int}&#39; [-Werror=format=]<br>
&gt;    pr_debug(&quot;Adjust mmap_min_addr %#lx -&gt; %#lx\n&quot;,<br>
&gt;             ^<br>
&gt; /criu/criu/include/log.h:68:<wbr>21: note: in definition of macro &#39;pr_debug&#39;<br>
&gt;           LOG_PREFIX fmt, ##__VA_ARGS__)<br>
&gt;                      ^~~<br>
&gt;   CC       criu/log.o<br>
<br>
</span>Could you please just merge in explicit (unsigned long) conversion?<br>
<span class=""><br>
        pr_debug(&quot;Adjust mmap_min_addr %#lx -&gt; %#lx\n&quot;,<br>
</span>                (unsigned long)value, default_mmap_min_addr);<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
CRIU mailing list<br>
<a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/criu" rel="noreferrer" target="_blank">https://lists.openvz.org/<wbr>mailman/listinfo/criu</a><br>
</div></div></blockquote></div><br></div>