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>
This commit is contained in:
parent
7bb3a011f8
commit
50c959b25e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue