All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android17-6.18-p3s 25/25] include/linux/p3s_user_pages.h:11:2: error: "Must not include <linux/p3s_user_pages.h> from header files"
@ 2026-10-16  5:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-16  5:10 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android17-6.18-p3s
head:   b4108abbd0e1cb0df40452dee77291f106e1d711
commit: 856798080ed545d2fa2ac46a8fc3608e077337e1 [25/25] ANDROID: P3S: binfmt_elf: Support 4KB process page geometry on ELF exec
config: x86_64-randconfig-2104-20261016 (https://download.01.org/0day-ci/archive/20261016/202610160737.pn8K9bbl-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261016/202610160737.pn8K9bbl-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/202610160737.pn8K9bbl-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from fs/compat_binfmt_elf.c:154:
   In file included from fs/binfmt_elf.c:52:
>> include/linux/p3s_user_pages.h:11:2: error: "Must not include <linux/p3s_user_pages.h> from header files"
      11 | #error "Must not include <linux/p3s_user_pages.h> from header files"
         |  ^
   In file included from fs/compat_binfmt_elf.c:154:
   fs/binfmt_elf.c:2136:13: error: no member named 'min_coredump' in 'struct linux_binfmt'
    2136 |         elf_format.min_coredump = ELF_EXEC_PAGESIZE;
         |         ~~~~~~~~~~ ^
   2 errors generated.


vim +11 include/linux/p3s_user_pages.h

a2f18a09888311 Kalesh Singh 2026-09-21   4  
a2f18a09888311 Kalesh Singh 2026-09-21   5  /*
a2f18a09888311 Kalesh Singh 2026-09-21   6   * <linux/p3s_user_pages.h> must ONLY be included as the last header in
a2f18a09888311 Kalesh Singh 2026-09-21   7   * C source files (.c) that opt into dynamic PAGE_SIZE for user address
a2f18a09888311 Kalesh Singh 2026-09-21   8   * spaces. It must NEVER be included in header files (.h).
a2f18a09888311 Kalesh Singh 2026-09-21   9   */
a2f18a09888311 Kalesh Singh 2026-09-21  10  #if defined(__INCLUDE_LEVEL__) && __INCLUDE_LEVEL__ > 1
a2f18a09888311 Kalesh Singh 2026-09-21 @11  #error "Must not include <linux/p3s_user_pages.h> from header files"
a2f18a09888311 Kalesh Singh 2026-09-21  12  #endif
a2f18a09888311 Kalesh Singh 2026-09-21  13  

:::::: The code at line 11 was first introduced by commit
:::::: a2f18a09888311a25f609f1ac52a922b8d6f0725 ANDROID: P3S: mm: Add dynamic PAGE_SIZE macro redirection header

:::::: TO: Kalesh Singh <kaleshsingh@google.com>
:::::: CC: android-test-infra-autosubmit@system.gserviceaccount.com <android-test-infra-autosubmit@system.gserviceaccount.com>

--
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:[~2026-10-16  5:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16  5:10 [android-common:android17-6.18-p3s 25/25] include/linux/p3s_user_pages.h:11:2: error: "Must not include <linux/p3s_user_pages.h> from header files" 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.