All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@kernel.org>
Cc: <oe-kbuild-all@lists.linux.dev>
Subject: [tglx-devel:timers/cleanup 3/59] arch/s390/mm/init.c:301:38: error: implicit declaration of function 'get_random_u32_inclusive'
Date: Sun, 12 Jul 2026 21:21:24 +0800	[thread overview]
Message-ID: <alOU1OcHTjXfse8Z@rli9-mobl> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git timers/cleanup
head:   0ad363c8e014568032d53fe2c7ab288de68373f4
commit: 7685fb5c8fe1aebd1a2202b2267a79d5b6775fd2 [3/59] nodemask: Include find.h instead of random.h
config: s390-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260712/202607121139.l8pW3DHz-lkp@intel.com/config)
compiler: s390x-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260712/202607121139.l8pW3DHz-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/r/202607121139.l8pW3DHz-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/s390/mm/init.c: In function 'execmem_arch_setup':
>> arch/s390/mm/init.c:301:38: error: implicit declaration of function 'get_random_u32_inclusive' [-Wimplicit-function-declaration]
     301 |                 module_load_offset = get_random_u32_inclusive(1, 1024) * PAGE_SIZE;
         |                                      ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/get_random_u32_inclusive +301 arch/s390/mm/init.c

0cc2dc4902f425 Mike Rapoport (IBM  2024-05-05  294) 
0cc2dc4902f425 Mike Rapoport (IBM  2024-05-05  295) struct execmem_info __init *execmem_arch_setup(void)
0cc2dc4902f425 Mike Rapoport (IBM  2024-05-05  296) {
0cc2dc4902f425 Mike Rapoport (IBM  2024-05-05  297) 	unsigned long module_load_offset = 0;
0cc2dc4902f425 Mike Rapoport (IBM  2024-05-05  298) 	unsigned long start;
0cc2dc4902f425 Mike Rapoport (IBM  2024-05-05  299) 
0cc2dc4902f425 Mike Rapoport (IBM  2024-05-05  300) 	if (kaslr_enabled())
0cc2dc4902f425 Mike Rapoport (IBM  2024-05-05 @301) 		module_load_offset = get_random_u32_inclusive(1, 1024) * PAGE_SIZE;

:::::: The code at line 301 was first introduced by commit
:::::: 0cc2dc4902f425e346d46deeea2352d9fba75375 arch: make execmem setup available regardless of CONFIG_MODULES

:::::: TO: Mike Rapoport (IBM) <rppt@kernel.org>
:::::: CC: Luis Chamberlain <mcgrof@kernel.org>

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


             reply	other threads:[~2026-07-12 13:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-12 13:21 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-07-12  9:49 [tglx-devel:timers/cleanup 3/59] arch/s390/mm/init.c:301:38: error: implicit declaration of function 'get_random_u32_inclusive' kernel test robot

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=alOU1OcHTjXfse8Z@rli9-mobl \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@kernel.org \
    /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.