[device-mapper-dm:dm-5.20 6/7] drivers/md/dm-io-rewind.c:95:39: error: 'struct bio' has no member named 'bi_crypt_context'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/202207060517.Wb6x2AW3-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>

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
dm-devel@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux