[linux-next:master 10800/10966] arch/arm/include/asm/highmem.h:52:43: error: implicit declaration of function 'cache_is_vivt'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   2996bd3f6ca9ea529b40c369a94b247657abdb4d
commit: 785037f08e4f6255041131d3575ca13bfe603ddf [10800/10966] Merge remote-tracking branch 'tip/auto-latest'
config: arm-randconfig-r031-20201206 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project fc7818f5d6906555cebad2c2e7c313a383b9cb82)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=785037f08e4f6255041131d3575ca13bfe603ddf
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 785037f08e4f6255041131d3575ca13bfe603ddf
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   In file included from arch/arm/mm/kasan_init.c:18:
>> arch/arm/include/asm/highmem.h:52:43: error: implicit declaration of function 'cache_is_vivt' [-Werror,-Wimplicit-function-declaration]
           if (IS_ENABLED(CONFIG_DEBUG_HIGHMEM) && !cache_is_vivt())
                                                    ^
   1 error generated.

vim +/cache_is_vivt +52 arch/arm/include/asm/highmem.h

2a15ba82fa6ca3 Thomas Gleixner 2020-11-03  49  
2a15ba82fa6ca3 Thomas Gleixner 2020-11-03  50  static inline void *arch_kmap_local_high_get(struct page *page)
2a15ba82fa6ca3 Thomas Gleixner 2020-11-03  51  {
2a15ba82fa6ca3 Thomas Gleixner 2020-11-03 @52  	if (IS_ENABLED(CONFIG_DEBUG_HIGHMEM) && !cache_is_vivt())
2a15ba82fa6ca3 Thomas Gleixner 2020-11-03  53  		return NULL;
2a15ba82fa6ca3 Thomas Gleixner 2020-11-03  54  	return kmap_high_get(page);
2a15ba82fa6ca3 Thomas Gleixner 2020-11-03  55  }
2a15ba82fa6ca3 Thomas Gleixner 2020-11-03  56  #define arch_kmap_local_high_get arch_kmap_local_high_get
2a15ba82fa6ca3 Thomas Gleixner 2020-11-03  57  

:::::: The code at line 52 was first introduced by commit
:::::: 2a15ba82fa6ca3f35502b3060f22118a938d2889 ARM: highmem: Switch to generic kmap atomic

:::::: TO: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
:::::: CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux