public inbox for oe-kbuild@lists.linux.dev
 help / color / mirror / Atom feed
* [tglx-devel:cleanups 25/38] arch/arm64/kernel/time.c:56:22: error: static declaration of 'random_get_entropy' follows non-static declaration
@ 2026-04-10 16:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-10 16:49 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-10 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 16:49 [tglx-devel:cleanups 25/38] arch/arm64/kernel/time.c:56:22: error: static declaration of 'random_get_entropy' follows non-static declaration kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox