All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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"
Date: Fri, 16 Oct 2026 07:10:38 +0200	[thread overview]
Message-ID: <202610160737.pn8K9bbl-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-10-16  5:11 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=202610160737.pn8K9bbl-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --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 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.