[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202512102025.4mWeBSsf-lkp@intel.com>
Date: Wed, 10 Dec 2025 21:09:16 +0800
From: kernel test robot <lkp@...el.com>
To: Bo Liu <liubo03@...pur.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Gao Xiang <xiang@...nel.org>
Subject: fs/erofs/decompressor_crypto.c:64:30: sparse: sparse: symbol
'z_erofs_crypto' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c9b47175e9131118e6f221cc8fb81397d62e7c91
commit: b4a29efc51461edf1a02e9da656d4480cabd24b0 erofs: support DEFLATE decompression by using Intel QAT
date: 7 months ago
config: s390-randconfig-r111-20251210 (https://download.01.org/0day-ci/archive/20251210/202512102025.4mWeBSsf-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251210/202512102025.4mWeBSsf-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512102025.4mWeBSsf-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> fs/erofs/decompressor_crypto.c:64:30: sparse: sparse: symbol 'z_erofs_crypto' was not declared. Should it be static?
vim +/z_erofs_crypto +64 fs/erofs/decompressor_crypto.c
63
> 64 struct z_erofs_crypto_engine *z_erofs_crypto[Z_EROFS_COMPRESSION_MAX] = {
65 [Z_EROFS_COMPRESSION_LZ4] = (struct z_erofs_crypto_engine[]) {
66 {},
67 },
68 [Z_EROFS_COMPRESSION_LZMA] = (struct z_erofs_crypto_engine[]) {
69 {},
70 },
71 [Z_EROFS_COMPRESSION_DEFLATE] = (struct z_erofs_crypto_engine[]) {
72 { .crypto_name = "qat_deflate", },
73 {},
74 },
75 [Z_EROFS_COMPRESSION_ZSTD] = (struct z_erofs_crypto_engine[]) {
76 {},
77 },
78 };
79 static DECLARE_RWSEM(z_erofs_crypto_rwsem);
80
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists