From d1ce5d2b3bae385afbdc956748e622f3ae37f609 Mon Sep 17 00:00:00 2001 From: shenyang39 Date: Fri, 27 Sep 2019 10:23:13 +0800 Subject: [PATCH] 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: shenyang39 Reviewed-by: wangzhou Reviewed-by: Yang Yingliang Signed-off-by: Yang Yingliang --- drivers/crypto/hisilicon/zip/zip_crypto.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/hisilicon/zip/zip_crypto.c b/drivers/crypto/hisilicon/zip/zip_crypto.c index 1b1ec811ca40..5a4ea053b41d 100644 --- a/drivers/crypto/hisilicon/zip/zip_crypto.c +++ b/drivers/crypto/hisilicon/zip/zip_crypto.c @@ -35,8 +35,9 @@ #define HZIP_SGL_SGE_MAX 255 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, - 0x0, 0x0, 0x0, 0x0, 0x03}; +static const u8 gzip_head[HZIP_GZIP_HEAD_SIZE] = { + 0x1f, 0x8b, 0x08, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x03 +}; enum hisi_zip_alg_type { HZIP_ALG_TYPE_COMP = 0, HZIP_ALG_TYPE_DECOMP = 1, -- GitLab