CC: [email protected]
TO: Christoph Hellwig <[email protected]>

tree:   git://git.infradead.org/users/hch/block.git blkdev.h-includes
head:   0687088056048288700f442e86ea92af0fce9a12
commit: b7260dd875e13760df5d1a677c85a1062b49128a [2/17] mm: don't include 
<linux/blk-cgroup.h> in <linux/backing-dev.h>
:::::: branch date: 24 hours ago
:::::: commit date: 24 hours ago
config: arc-randconfig-c023-20210913 (attached as .config)
compiler: arceb-elf-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
        git remote add hch-block git://git.infradead.org/users/hch/block.git
        git fetch --no-tags hch-block blkdev.h-includes
        git checkout b7260dd875e13760df5d1a677c85a1062b49128a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross 
ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

   drivers/md/dm-ima.c: In function 'dm_ima_alloc':
>> drivers/md/dm-ima.c:54:29: error: implicit declaration of function 
>> 'memalloc_noio_save' [-Werror=implicit-function-declaration]
      54 |                 noio_flag = memalloc_noio_save();
         |                             ^~~~~~~~~~~~~~~~~~
>> drivers/md/dm-ima.c:59:17: error: implicit declaration of function 
>> 'memalloc_noio_restore' [-Werror=implicit-function-declaration]
      59 |                 memalloc_noio_restore(noio_flag);
         |                 ^~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/memalloc_noio_save +54 drivers/md/dm-ima.c

91ccbbac1747ee Tushar Sugandhi 2021-07-12  44  
91ccbbac1747ee Tushar Sugandhi 2021-07-12  45  /*
91ccbbac1747ee Tushar Sugandhi 2021-07-12  46   * Internal function to allocate 
memory for IMA measurements.
91ccbbac1747ee Tushar Sugandhi 2021-07-12  47   */
91ccbbac1747ee Tushar Sugandhi 2021-07-12  48  static void *dm_ima_alloc(size_t 
len, gfp_t flags, bool noio)
91ccbbac1747ee Tushar Sugandhi 2021-07-12  49  {
91ccbbac1747ee Tushar Sugandhi 2021-07-12  50   unsigned int noio_flag;
91ccbbac1747ee Tushar Sugandhi 2021-07-12  51   void *ptr;
91ccbbac1747ee Tushar Sugandhi 2021-07-12  52  
91ccbbac1747ee Tushar Sugandhi 2021-07-12  53   if (noio)
91ccbbac1747ee Tushar Sugandhi 2021-07-12 @54           noio_flag = 
memalloc_noio_save();
91ccbbac1747ee Tushar Sugandhi 2021-07-12  55  
91ccbbac1747ee Tushar Sugandhi 2021-07-12  56   ptr = kzalloc(len, flags);
91ccbbac1747ee Tushar Sugandhi 2021-07-12  57  
91ccbbac1747ee Tushar Sugandhi 2021-07-12  58   if (noio)
91ccbbac1747ee Tushar Sugandhi 2021-07-12 @59           
memalloc_noio_restore(noio_flag);
91ccbbac1747ee Tushar Sugandhi 2021-07-12  60  
91ccbbac1747ee Tushar Sugandhi 2021-07-12  61   return ptr;
91ccbbac1747ee Tushar Sugandhi 2021-07-12  62  }
91ccbbac1747ee Tushar Sugandhi 2021-07-12  63  

:::::: The code at line 54 was first introduced by commit
:::::: 91ccbbac1747eea155632a1c6bb100052309b215 dm ima: measure data on table 
load

:::::: TO: Tushar Sugandhi <[email protected]>
:::::: CC: Mike Snitzer <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to