mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* fs/erofs/decompressor_crypto.c:64:30: sparse: sparse: symbol 'z_erofs_crypto' was not declared. Should it be static?
@ 2025-12-10 13:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-10 13:09 UTC (permalink / raw)
  To: Bo Liu; +Cc: oe-kbuild-all, linux-kernel, Gao Xiang

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@intel.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-12-10 13:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-10 13:09 fs/erofs/decompressor_crypto.c:64:30: sparse: sparse: symbol 'z_erofs_crypto' was not declared. Should it be static? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®