dsp: allocate contiguous memory for version information

Allocate contiguous memory for version information instead of splitting
it across the stack and heap to centralize memory and improve
readability.

CRs-Fixed: 2104576
Signed-off-by: Siena Richard <sienar@codeaurora.org>
Change-Id: Id7b5942522da6312da57bfef3d3c0b55934fe1d7
This commit is contained in:
Siena Richard
2017-09-05 11:15:45 -07:00
parent 8f7ccc2e6f
commit 2d0102dd44
4 changed files with 74 additions and 83 deletions

View File

@@ -9264,7 +9264,7 @@ struct avs_svc_api_info {
struct avcs_fwk_ver_info {
struct avcs_get_fwk_version avcs_fwk_version;
struct avs_svc_api_info *services;
struct avs_svc_api_info services[0];
} __packed;
/* LSM Specific */