* [krzk-github:n/audio-sm8650-on-neil-codelinaro-topic-sm8650-upstream-integ 15603/15673] arch/arm/include/asm/memory.h:15:2: error: "Do not include <asm/memory.h> directly"
@ 2024-01-18 19:20 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-18 19:20 UTC (permalink / raw)
To: Abel Vesa; +Cc: llvm, oe-kbuild-all
tree: https://github.com/krzk/linux n/audio-sm8650-on-neil-codelinaro-topic-sm8650-upstream-integ
head: 5cac1bb64a0300d340c5e369489c731b30aa5e79
commit: e21b73fba00f3539873c978ceaa948061687684f [15603/15673] spmi: pmic-arb: Add support for multi-master
config: arm-randconfig-002-20240118 (https://download.01.org/0day-ci/archive/20240119/202401190310.kzCMliSq-lkp@intel.com/config)
compiler: clang version 18.0.0git (https://github.com/llvm/llvm-project d92ce344bf641e6bb025b41b3f1a77dd25e2b3e9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240119/202401190310.kzCMliSq-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401190310.kzCMliSq-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/spmi/spmi-pmic-arb.c:5:
>> arch/arm/include/asm/memory.h:15:2: error: "Do not include <asm/memory.h> directly"
15 | #error "Do not include <asm/memory.h> directly"
| ^
>> arch/arm/include/asm/memory.h:299:36: error: use of undeclared identifier 'PAGE_SHIFT'
299 | return (((kaddr - PAGE_OFFSET) >> PAGE_SHIFT) +
| ^
arch/arm/include/asm/memory.h:300:3: error: use of undeclared identifier 'PAGE_SHIFT'
300 | PHYS_PFN_OFFSET);
| ^
arch/arm/include/asm/memory.h:282:57: note: expanded from macro 'PHYS_PFN_OFFSET'
282 | #define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT))
| ^
3 errors generated.
vim +15 arch/arm/include/asm/memory.h
^1da177e4c3f41 include/asm-arm/memory.h Linus Torvalds 2005-04-16 13
a9ff6961601d9a arch/arm/include/asm/memory.h Linus Walleij 2022-06-02 14 #ifndef _ASMARM_PAGE_H
a9ff6961601d9a arch/arm/include/asm/memory.h Linus Walleij 2022-06-02 @15 #error "Do not include <asm/memory.h> directly"
a9ff6961601d9a arch/arm/include/asm/memory.h Linus Walleij 2022-06-02 16 #endif
a9ff6961601d9a arch/arm/include/asm/memory.h Linus Walleij 2022-06-02 17
:::::: The code at line 15 was first introduced by commit
:::::: a9ff6961601d9aa0c42b6eb7d850371f31b1f5e6 ARM: mm: Make virt_to_pfn() a static inline
:::::: TO: Linus Walleij <linus.walleij@linaro.org>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-18 19:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-18 19:20 [krzk-github:n/audio-sm8650-on-neil-codelinaro-topic-sm8650-upstream-integ 15603/15673] arch/arm/include/asm/memory.h:15:2: error: "Do not include <asm/memory.h> directly" kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox