[ebiggers:blk-crypto-sysfs-testing 4/4] drivers/block/virtio_blk.c:763:10: error: 'struct request_queue' has no member named 'crypto_profile'

From: kernel test robot
Date: Thu Jan 13 2022 - 20:18:21 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git blk-crypto-sysfs-testing
head: 59eaf05f0496aed45c6825a931254a94381d36ac
commit: 59eaf05f0496aed45c6825a931254a94381d36ac [4/4] virtio-blk: add fake crypto profile for testing
config: csky-randconfig-r002-20220113 (https://download.01.org/0day-ci/archive/20220114/202201140941.edAqs2GB-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/commit/?id=59eaf05f0496aed45c6825a931254a94381d36ac
git remote add ebiggers https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git
git fetch --no-tags ebiggers blk-crypto-sysfs-testing
git checkout 59eaf05f0496aed45c6825a931254a94381d36ac
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=csky SHELL=/bin/bash drivers/block/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

drivers/block/virtio_blk.c: In function 'virtblk_add_crypto_profile':
>> drivers/block/virtio_blk.c:763:10: error: 'struct request_queue' has no member named 'crypto_profile'
763 | q->crypto_profile = profile;
| ^~


vim +763 drivers/block/virtio_blk.c

751
752 static void virtblk_add_crypto_profile(struct request_queue *q)
753 {
754 struct blk_crypto_profile *profile;
755
756 profile = kzalloc(sizeof(*profile), GFP_KERNEL);
757
758 blk_crypto_profile_init(profile, 32);
759 profile->modes_supported[BLK_ENCRYPTION_MODE_AES_256_XTS] =
760 4096 | 8192;
761 profile->max_dun_bytes_supported = 8;
762
> 763 q->crypto_profile = profile;
764 }
765

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx