On 11/06/2015 06:38 PM, Burton, Ross wrote:

On 16 October 2015 at 06:57, <wenzong....@windriver.com
<mailto:wenzong....@windriver.com>> wrote:

    * Also fix ptest build error caused by global CFLAGS:

       raid6check.c: In function 'check_stripes':
       raid6check.c:315:8: error: 'stripe_buf' may be used uninitialized \
       in this function [-Werror=maybe-uninitialized]


We're now seeing this instead when building the ptest part on poky-lsb
(which turns on more security flags):

raid6check.c: In function 'check_stripes':
raid6check.c:352:2: error: ignoring return value of 'posix_memalign',
declared with attribute warn_unused_result [-Werror=unused-result]
   posix_memalign((void**)&stripe_buf, 4096, raid_disks * chunk_size);

I'll fix the patch and send v2 out.

Thanks
Wenzong



(http://errors.yoctoproject.org/Errors/Details/21490/)

Ross
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to