已合并
test:ut for aicpu message adapter #630
zhaowenrui创建于 3月4日
test:ut for aicpu message adapter #630
已合并
共 5 个文件变更+826-1
| @@ -847,7 +847,7 @@ int32_t AicpuSqeAdapter::AicpuTimeOutConfigResponseToTsV0(const int32_t ret) | |||
| 847 | 847 | ||
| 848 | int32_t AicpuSqeAdapter::AicpuTimeOutConfigResponseToTsV1(const int32_t ret) | 848 | int32_t AicpuSqeAdapter::AicpuTimeOutConfigResponseToTsV1(const int32_t ret) |
| 849 | { | 849 | { |
| 850 | - TsAicpuMsgInfo msgInfo; | 850 | + TsAicpuMsgInfo msgInfo{}; |
| 851 | msgInfo.pid = static_cast<uint32_t>(AicpuDrvManager::GetInstance().GetHostPid()); | 851 | msgInfo.pid = static_cast<uint32_t>(AicpuDrvManager::GetInstance().GetHostPid()); |
| 852 | msgInfo.cmd_type = cmd_type_; | 852 | msgInfo.cmd_type = cmd_type_; |
| 853 | msgInfo.vf_id = static_cast<uint8_t>(AicpuDrvManager::GetInstance().GetVfId()); | 853 | msgInfo.vf_id = static_cast<uint8_t>(AicpuDrvManager::GetInstance().GetVfId()); |