Hi Sebastian,

[auto build test ERROR on v4.5-rc3]
[also build test ERROR on next-20160208]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:    
https://github.com/0day-ci/linux/commits/Sebastian-Andrzej-Siewior/mm-backing-dev-don-t-disable-IRQs-in-wb_congested_put/20160209-003634
config: x86_64-randconfig-x011-201606 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   mm/backing-dev.c: In function 'wb_congested_put':
>> mm/backing-dev.c:460:2: error: implicit declaration of function 
>> 'local_irq_save_nort' [-Werror=implicit-function-declaration]
     local_irq_save_nort(flags);
     ^
>> mm/backing-dev.c:462:3: error: implicit declaration of function 
>> 'local_irq_restore_nort' [-Werror=implicit-function-declaration]
      local_irq_restore_nort(flags);
      ^
>> mm/backing-dev.c:460:2: warning: 'flags' is used uninitialized in this 
>> function [-Wuninitialized]
     local_irq_save_nort(flags);
     ^
   cc1: some warnings being treated as errors

vim +/local_irq_save_nort +460 mm/backing-dev.c

   454   * Put @congested and destroy it if the refcnt reaches zero.
   455   */
   456  void wb_congested_put(struct bdi_writeback_congested *congested)
   457  {
   458          unsigned long flags;
   459  
 > 460          local_irq_save_nort(flags);
   461          if (!atomic_dec_and_lock(&congested->refcnt, &cgwb_lock)) {
 > 462                  local_irq_restore_nort(flags);
   463                  return;
   464          }
   465  

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

Attachment: .config.gz
Description: Binary data

Reply via email to