lkml.org 
[lkml]   [2022]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[ammarfaizi2-block:axboe/linux-block/for-5.20/drivers 116/128] drivers/md/dm.c:1019:32: error: no member named 'bio_split' in 'struct request_queue'
tree:   https://github.com/ammarfaizi2/linux-block axboe/linux-block/for-5.20/drivers
head: 4a60e6e655b81b817569ee42f481de06506848b3
commit: faf18cbbdb8631b48bf103f9e06e944f80e3b6bf [116/128] block: move ->bio_split to the gendisk
config: hexagon-randconfig-r041-20220801 (https://download.01.org/0day-ci/archive/20220803/202208031056.CwBNWtsS-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 52cd00cabf479aa7eb6dbb063b7ba41ea57bce9e)
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://github.com/ammarfaizi2/linux-block/commit/faf18cbbdb8631b48bf103f9e06e944f80e3b6bf
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block axboe/linux-block/for-5.20/drivers
git checkout faf18cbbdb8631b48bf103f9e06e944f80e3b6bf
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/md/

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.c:1019:32: error: no member named 'bio_split' in 'struct request_queue'
dm_io_rewind(io, &md->queue->bio_split);
~~~~~~~~~ ^
1 error generated.


vim +1019 drivers/md/dm.c

e27363472f9bc9 Mike Snitzer 2022-03-09 1002
8b211aaccb915b Ming Lei 2022-06-24 1003 static void dm_wq_requeue_work(struct work_struct *work)
8b211aaccb915b Ming Lei 2022-06-24 1004 {
8b211aaccb915b Ming Lei 2022-06-24 1005 struct mapped_device *md = container_of(work, struct mapped_device,
8b211aaccb915b Ming Lei 2022-06-24 1006 requeue_work);
8b211aaccb915b Ming Lei 2022-06-24 1007 unsigned long flags;
8b211aaccb915b Ming Lei 2022-06-24 1008 struct dm_io *io;
8b211aaccb915b Ming Lei 2022-06-24 1009
8b211aaccb915b Ming Lei 2022-06-24 1010 /* reuse deferred lock to simplify dm_handle_requeue */
8b211aaccb915b Ming Lei 2022-06-24 1011 spin_lock_irqsave(&md->deferred_lock, flags);
8b211aaccb915b Ming Lei 2022-06-24 1012 io = md->requeue_list;
8b211aaccb915b Ming Lei 2022-06-24 1013 md->requeue_list = NULL;
8b211aaccb915b Ming Lei 2022-06-24 1014 spin_unlock_irqrestore(&md->deferred_lock, flags);
8b211aaccb915b Ming Lei 2022-06-24 1015
8b211aaccb915b Ming Lei 2022-06-24 1016 while (io) {
8b211aaccb915b Ming Lei 2022-06-24 1017 struct dm_io *next = io->next;
8b211aaccb915b Ming Lei 2022-06-24 1018
8b211aaccb915b Ming Lei 2022-06-24 @1019 dm_io_rewind(io, &md->queue->bio_split);
8b211aaccb915b Ming Lei 2022-06-24 1020
8b211aaccb915b Ming Lei 2022-06-24 1021 io->next = NULL;
8b211aaccb915b Ming Lei 2022-06-24 1022 __dm_io_complete(io, false);
8b211aaccb915b Ming Lei 2022-06-24 1023 io = next;
8b211aaccb915b Ming Lei 2022-06-24 1024 }
8b211aaccb915b Ming Lei 2022-06-24 1025 }
8b211aaccb915b Ming Lei 2022-06-24 1026

:::::: The code at line 1019 was first introduced by commit
:::::: 8b211aaccb915bbf4f4a68f1910c4de701df393b dm: add two stage requeue mechanism

:::::: TO: Ming Lei <ming.lei@redhat.com>
:::::: CC: Mike Snitzer <snitzer@kernel.org>

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

\
 
 \ /
  Last update: 2022-08-03 04:20    [W:0.028 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site