1 Star 0 Fork 20

chenmaodong/mstflint

forked from src-openEuler/mstflint 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-0001-Title-Fix-error-while-burning-mcc-enabled.patch 918 Bytes
一键复制 编辑 原始数据 按行查看 历史
chenmaodong 提交于 2022-12-29 15:29 +08:00 . Fix error while burning mcc enabled Description
From e8d9ff786a04eb142ce6f3c8650ea975bbe595e2 Mon Sep 17 00:00:00 2001
From: Samer Deeb <samerd@mellanox.com>
Date: Mon, 12 Nov 2018 20:39:36 +0000
Subject: [PATCH] Title: Fix error while burning mcc enabled Description:
ignore HMAC calculation Issue: 1472385
Signed-off-by: Samer Deeb <samerd@mellanox.com>
---
mlxfwops/lib/fs3_ops.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mlxfwops/lib/fs3_ops.cpp b/mlxfwops/lib/fs3_ops.cpp
index deb4a05..b5a9d93 100644
--- a/mlxfwops/lib/fs3_ops.cpp
+++ b/mlxfwops/lib/fs3_ops.cpp
@@ -3316,12 +3316,12 @@ bool Fs3Operations::AddHMACIfNeeded(Fs3Operations* imageOps, Flash *f)
}
}
- return true;
#else
(void)imageOps;
(void)f;
- return errmsg("HMAC calculation is not implemented\n");
+ //ignore
#endif
+ return true;
}
bool Fs3Operations::DoAfterBurnJobs(const u_int32_t magic_patter[],
--
2.21.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chenmaodong/mstflint.git
git@gitee.com:chenmaodong/mstflint.git
chenmaodong
mstflint
mstflint
master

搜索帮助