From: kernel test robot <lkp@intel.com>
To: Abel Vesa <abel.vesa@linaro.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [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"
Date: Fri, 19 Jan 2024 03:20:20 +0800 [thread overview]
Message-ID: <202401190310.kzCMliSq-lkp@intel.com> (raw)
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
reply other threads:[~2024-01-18 19:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202401190310.kzCMliSq-lkp@intel.com \
--to=lkp@intel.com \
--cc=abel.vesa@linaro.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox