summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorChao Bi <chaobi@codeaurora.org>2018-06-20 14:03:20 +0800
committerKing Tam <kingt@codeaurora.org>2018-06-21 17:07:05 -0400
commit50c959b25e60b87e1624e8a042e867d487db01dc (patch)
tree113e82aa478bbc1d36a2e207193f09c73c298af8 /drivers/soc
parent7bb3a011f80e3d4ca1ea2c888448b1e04b6d51a9 (diff)
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 <chaobi@codeaurora.org>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/qcom/hab/khab_test.c2
1 files changed, 1 insertions, 1 deletions
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;