lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201140941.edAqs2GB-lkp@intel.com>
Date:   Fri, 14 Jan 2022 09:17:15 +0800
From:   kernel test robot <lkp@...el.com>
To:     Eric Biggers <ebiggers@...gle.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [ebiggers:blk-crypto-sysfs-testing 4/4]
 drivers/block/virtio_blk.c:763:10: error: 'struct request_queue' has no
 member named 'crypto_profile'

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

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@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ