From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [tglx-devel:cleanups 25/38] arch/arm64/kernel/time.c:56:22: error: static declaration of 'random_get_entropy' follows non-static declaration
Date: Fri, 10 Apr 2026 18:49:42 +0200 [thread overview]
Message-ID: <202604101823.wCfnGeTA-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "low confidence bisect report"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Thomas Gleixner <tglx@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git cleanups
head: c8e6e3529d3137cb0aba79b565eb04ab8f346829
commit: 547dc92375fef1634a43eeba61247efe222047e4 [25/38] arm64: Select ARCH_HAS_RANDOM_ENTROPY
:::::: branch date: 75 minutes ago
:::::: commit date: 5 hours ago
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260410/202604101823.wCfnGeTA-lkp@intel.com/config)
compiler: aarch64-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/20260410/202604101823.wCfnGeTA-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/202604101823.wCfnGeTA-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> arch/arm64/kernel/time.c:56:22: error: static declaration of 'random_get_entropy' follows non-static declaration
56 | static unsigned long random_get_entropy(void)
| ^~~~~~~~~~~~~~~~~~
In file included from ./include/linux/random.h:154,
from ./include/linux/nodemask.h:94,
from ./include/linux/numa.h:6,
from ./include/linux/cpumask.h:15,
from ./arch/arm64/include/asm/cpufeature.h:27,
from ./arch/arm64/include/asm/ptrace.h:11,
from ./arch/arm64/include/asm/irqflags.h:9,
from ./include/linux/irqflags.h:18,
from ./include/linux/spinlock.h:59,
from ./include/linux/debugobjects.h:6,
from ./include/linux/timer.h:8,
from ./include/linux/clocksource.h:17,
from ./include/linux/clockchips.h:14,
from arch/arm64/kernel/time.c:10:
./arch/arm64/include/asm/random.h:9:15: note: previous declaration of 'random_get_entropy' with type 'long unsigned int(void)'
9 | unsigned long random_get_entropy(void);
| ^~~~~~~~~~~~~~~~~~
>> arch/arm64/kernel/time.c:56:22: warning: 'random_get_entropy' defined but not used [-Wunused-function]
56 | static unsigned long random_get_entropy(void)
| ^~~~~~~~~~~~~~~~~~
vim +/random_get_entropy +56 arch/arm64/kernel/time.c
985c0679dfa459 Marc Zyngier 2012-03-05 55
547dc92375fef1 Thomas Gleixner 2026-04-09 @56 static unsigned long random_get_entropy(void)
547dc92375fef1 Thomas Gleixner 2026-04-09 57 {
547dc92375fef1 Thomas Gleixner 2026-04-09 58 return arch_timer_read_counter();
547dc92375fef1 Thomas Gleixner 2026-04-09 59 }
547dc92375fef1 Thomas Gleixner 2026-04-09 60
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-04-10 16:50 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=202604101823.wCfnGeTA-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@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