Skip to contentSkip to conversation

arch/arm64/include/asm/cache.h:11:5: warning: 'ARM64_S390_COMMON' is not defined, evaluates to 0

PATCH kernel test robot 1 participant 1 message Nov 6 s390

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git sae
head:   2abfa741008fd96c3684c316a2f5f37d3bb7bd8b
commit: e8b6c7dc6f90bdd331d7747f381082943815fe6a [10/28] arm64: Share system register related headers and functions with s390
config: arm64-randconfig-2000-20261106 (https://download.01.org/0day-ci/archive/20261106/[email protected]/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261106/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

In file included from <built-in>:3:
In file included from lib/vdso/gettimeofday.c:7:
In file included from include/vdso/datapage.h:14:
In file included from include/vdso/cache.h:5:

>> arch/arm64/include/asm/cache.h:11:5: warning: 'ARM64_S390_COMMON' is not defined, evaluates to 0 [-Wundef]
      11 | #if ARM64_S390_COMMON == 1
         |     ^

1 warning generated.
--
In file included from <built-in>:3:
In file included from lib/vdso/gettimeofday.c:7:
In file included from include/vdso/datapage.h:14:
In file included from include/vdso/cache.h:5:

>> arch/arm64/include/asm/cache.h:11:5: warning: 'ARM64_S390_COMMON' is not defined, evaluates to 0 [-Wundef]
      11 | #if ARM64_S390_COMMON == 1
         |     ^

1 warning generated.

vim +/ARM64_S390_COMMON +11 arch/arm64/include/asm/cache.h

    10	
  > 11	#if ARM64_S390_COMMON == 1
    12	#define CLIDR_LOUU_SHIFT	27
    13	#define CLIDR_LOC_SHIFT		24
    14	#define CLIDR_LOUIS_SHIFT	21
    15	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki