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
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
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: