public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2022-07-05 22:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-05 22:01 UTC (permalink / raw)
  To: Mike Snitzer; +Cc: kbuild-all, dm-devel, linux-kernel

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

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

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

only message in thread, other threads:[~2022-07-05 22:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-05 22:01 [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' 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