Re: [OE-core] [PATCH 1/1 v2] mdadm: fix CFLAGS and ptest issue

2015-11-07 Thread wenzong fan
On 11/06/2015 06:38 PM, Burton, Ross wrote: On 16 October 2015 at 06:57, 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 uninitialize

Re: [OE-core] [PATCH 1/1 v2] mdadm: fix CFLAGS and ptest issue

2015-11-06 Thread Burton, Ross
On 16 October 2015 at 06:57, 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

[OE-core] [PATCH 1/1 v2] mdadm: fix CFLAGS and ptest issue

2015-10-15 Thread wenzong.fan
From: Wenzong Fan * Pass global CFLAGS to build: The CFLAGS does not pass to build at all since it was redefined by mdadm Makefile: CFLAGS = $(CWFLAGS) $(CXFLAGS) ... This could be done by setting 'CXFLAGS="${CFLAGS}"'. * Also fix ptest build error caused by global CFLAGS: raid6check.c: