Skip to content

Commit

Permalink
module_adapter: ModuleInitialSettingsConcrete: Fix code issues
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
  • Loading branch information
softwarecki committed Sep 4, 2023
1 parent 8a4376d commit f9c5e9d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ ModuleInitialSettingsConcrete::ModuleInitialSettingsConcrete(DwordArray const &c
/* It shall contain BaseModuleCfg + BaseModuleCfgExt + */
/* optionally some InputPinFormat[] + OutputPinFormat[] data */
CompoundCfg const * unvalidated_compound_cfg = cfg_ipc_msg.dataAs<CompoundCfg>();
if (!unvalidated_compound_cfg)
return;

const size_t computed_msg_size =
sizeof(CompoundCfg) -
/* CompoundCfg already contains one InputPinFormat and
Expand Down

0 comments on commit f9c5e9d

Please sign in to comment.