[PATCH v2] erofs: support deflate decompress by using Intel QAT

kernel test robot lkp at intel.com
Thu May 15 11:44:38 AEST 2025


Hi Bo,

kernel test robot noticed the following build warnings:

[auto build test WARNING on xiang-erofs/dev-test]
[also build test WARNING on xiang-erofs/dev xiang-erofs/fixes linus/master v6.15-rc6 next-20250514]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Bo-Liu/erofs-support-deflate-decompress-by-using-Intel-QAT/20250514-202351
base:   https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git dev-test
patch link:    https://lore.kernel.org/r/20250514121709.2557-1-liubo03%40inspur.com
patch subject: [PATCH v2] erofs: support deflate decompress by using Intel QAT
config: riscv-randconfig-002-20250515 (https://download.01.org/0day-ci/archive/20250515/202505150946.oGwqIzrW-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250515/202505150946.oGwqIzrW-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505150946.oGwqIzrW-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> fs/erofs/decompressor_crypto.c:211:9: warning: braces around scalar initializer
     211 |         [Z_EROFS_COMPRESSION_DEFLATE] = {&(struct z_erofs_crypto_engine) {
         |         ^
   fs/erofs/decompressor_crypto.c:211:9: note: (near initialization for 'z_erofs_crypto[2]')
   fs/erofs/decompressor_crypto.c:216:17: warning: excess elements in scalar initializer
     216 |                 &(const struct z_erofs_crypto_engine) { NULL },
         |                 ^
   fs/erofs/decompressor_crypto.c:216:17: note: (near initialization for 'z_erofs_crypto[2]')


vim +211 fs/erofs/decompressor_crypto.c

   207	
   208	struct z_erofs_crypto_engine *z_erofs_crypto[] = {
   209		[Z_EROFS_COMPRESSION_LZ4] = &(struct z_erofs_crypto_engine) {NULL},
   210		[Z_EROFS_COMPRESSION_LZMA] = &(struct z_erofs_crypto_engine) {NULL},
 > 211		[Z_EROFS_COMPRESSION_DEFLATE] = {&(struct z_erofs_crypto_engine) {

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


More information about the Linux-erofs mailing list