Hi Kent,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc7]
[cannot apply to next-20170207]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Kent-Overstreet/block-Make-rescuer-threads-per-request_queue-not-per-bioset/20170208-130414
config: x86_64-randconfig-x014-201706 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   kernel/sched/core.c: In function 'sched_submit_work':
>> kernel/sched/core.c:3445:7: error: implicit declaration of function 
>> 'bio_list_empty' [-Werror=implicit-function-declaration]
         !bio_list_empty(&tsk->bio_list->bios) &&
          ^~~~~~~~~~~~~~
>> kernel/sched/core.c:3445:36: error: dereferencing pointer to incomplete type 
>> 'struct bio_plug_list'
         !bio_list_empty(&tsk->bio_list->bios) &&
                                       ^~
>> kernel/sched/core.c:3447:3: error: implicit declaration of function 
>> 'blk_punt_blocked_bios' [-Werror=implicit-function-declaration]
      blk_punt_blocked_bios(tsk->bio_list);
      ^~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/bio_list_empty +3445 kernel/sched/core.c

  3439  static inline void sched_submit_work(struct task_struct *tsk)
  3440  {
  3441          if (!tsk->state || tsk_is_pi_blocked(tsk))
  3442                  return;
  3443  
  3444          if (tsk->bio_list &&
> 3445              !bio_list_empty(&tsk->bio_list->bios) &&
  3446              tsk->bio_list->q->rescue_workqueue)
> 3447                  blk_punt_blocked_bios(tsk->bio_list);
  3448  
  3449          /*
  3450           * If we are going to sleep and we have plugged IO queued,

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to