From 50c959b25e60b87e1624e8a042e867d487db01dc Mon Sep 17 00:00:00 2001 From: Chao Bi Date: Wed, 20 Jun 2018 14:03:20 +0800 Subject: [PATCH] soc: qcom: hab: make LA compilation pass Due to GCC problem (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119), it cause a warning in hab test code, this patch is a workaround to avoid this warning. This can be reverted once the GCC issue is fixed. Change-Id: I4d01920ef36cb42bae4dd9f331c518a38dfd9a5a Signed-off-by: Chao Bi --- drivers/soc/qcom/hab/khab_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/hab/khab_test.c b/drivers/soc/qcom/hab/khab_test.c index 3773211aeec7..0b71054ad38f 100644 --- a/drivers/soc/qcom/hab/khab_test.c +++ b/drivers/soc/qcom/hab/khab_test.c @@ -40,7 +40,7 @@ static int hab_shmm_throughput_test(void) register int sum; register int *pp, *lastone; - int throughput[3][2] = {0}; + int throughput[3][2] = { {0} }; int latency[6][PERF_TEST_ITERATION]; int ret = 0, tmp, size;