提交 d1ce5d2b 编写于 作者: S shenyang39 提交者: Xie XiuQi

zip_crypto.c:fix static check problem from zip_crypto

driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

fix static check problem from zip_crypto

Feature or Bugfix:Bugfix
Signed-off-by: Nshenyang39 <shenyang39@huawei.com>
Reviewed-by: Nwangzhou <wangzhou1@hisilicon.com>
Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 24547c69
...@@ -35,8 +35,9 @@ ...@@ -35,8 +35,9 @@
#define HZIP_SGL_SGE_MAX 255 #define HZIP_SGL_SGE_MAX 255
static const u8 zlib_head[HZIP_ZLIB_HEAD_SIZE] = {0x78, 0x9c}; static const u8 zlib_head[HZIP_ZLIB_HEAD_SIZE] = {0x78, 0x9c};
static const u8 gzip_head[HZIP_GZIP_HEAD_SIZE] = {0x1f, 0x8b, 0x08, 0x0, 0x0, static const u8 gzip_head[HZIP_GZIP_HEAD_SIZE] = {
0x0, 0x0, 0x0, 0x0, 0x03}; 0x1f, 0x8b, 0x08, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x03
};
enum hisi_zip_alg_type { enum hisi_zip_alg_type {
HZIP_ALG_TYPE_COMP = 0, HZIP_ALG_TYPE_COMP = 0,
HZIP_ALG_TYPE_DECOMP = 1, HZIP_ALG_TYPE_DECOMP = 1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册