<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 16 October 2015 at 06:57, <span dir="ltr"><<a href="mailto:wenzong.fan@windriver.com" target="_blank">wenzong.fan@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":2b1" class="" style="overflow:hidden">* Also fix ptest build error caused by global CFLAGS:<br>
<br>
raid6check.c: In function 'check_stripes':<br>
raid6check.c:315:8: error: 'stripe_buf' may be used uninitialized \<br>
in this function [-Werror=maybe-uninitialized]</div></blockquote></div><br>We're now seeing this instead when building the ptest part on poky-lsb (which turns on more security flags):</div><br>raid6check.c: In function 'check_stripes':<br>raid6check.c:352:2: error: ignoring return value of 'posix_memalign', declared with attribute warn_unused_result [-Werror=unused-result]<br> posix_memalign((void**)&stripe_buf, 4096, raid_disks * chunk_size);<br> ^<div><br></div><div>(<a href="http://errors.yoctoproject.org/Errors/Details/21490/">http://errors.yoctoproject.org/Errors/Details/21490/</a>)</div><div><br></div><div>Ross</div></div>