All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 10800/10966] arch/arm/include/asm/highmem.h:52:43: error: implicit declaration of function 'cache_is_vivt'
@ 2020-12-05 20:44 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-05 20:44 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: kbuild-all, clang-built-linux, Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 2731 bytes --]

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@intel.com>

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@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38523 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [linux-next:master 10800/10966] arch/arm/include/asm/highmem.h:52:43: error: implicit declaration of function 'cache_is_vivt'
@ 2020-12-05 20:44 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-05 20:44 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2782 bytes --]

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@intel.com>

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@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38523 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-05 20:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-05 20:44 [linux-next:master 10800/10966] arch/arm/include/asm/highmem.h:52:43: error: implicit declaration of function 'cache_is_vivt' kernel test robot
2020-12-05 20:44 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.