tree:   
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git 
dm-5.20
head:   e08bc02c4a6c7cdcbe85ce84db9307203de01926
commit: fa88c146eb6b5d9c2c0946e39a4b19ade94b47a0 [6/7] dm: move bio_rewind 
local to DM core
config: i386-defconfig 
(https://download.01.org/0day-ci/archive/20220706/[email protected]/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/commit/?id=fa88c146eb6b5d9c2c0946e39a4b19ade94b47a0
        git remote add device-mapper-dm 
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git
        git fetch --no-tags device-mapper-dm dm-5.20
        git checkout fa88c146eb6b5d9c2c0946e39a4b19ade94b47a0
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

   drivers/md/dm-io-rewind.c: In function '__bio_crypt_rewind':
>> drivers/md/dm-io-rewind.c:95:39: error: 'struct bio' has no member named 
>> 'bi_crypt_context'
      95 |         struct bio_crypt_ctx *bc = bio->bi_crypt_context;
         |                                       ^~


vim +95 drivers/md/dm-io-rewind.c

    92  
    93  static void __bio_crypt_rewind(struct bio *bio, unsigned int bytes)
    94  {
  > 95          struct bio_crypt_ctx *bc = bio->bi_crypt_context;
    96  
    97          bio_crypt_dun_decrement(bc->bc_dun,
    98                                  bytes >> 
bc->bc_key->data_unit_size_bits);
    99  }
   100  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel

Reply via email to