All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-linux-intel-lts:5.4/preempt-rt 19/34] drivers/of/base.c:139:6: warning: no previous prototype for function '__of_phandle_cache_inv_entry'
@ 2021-08-27 22:11 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-27 22:11 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3743 bytes --]

tree:   https://github.com/intel/linux-intel-lts.git 5.4/preempt-rt
head:   0118829254baf0df5ddd559010bed6a434b285e5
commit: 24d1b5860a8e4a8c0b4d75e3041e0bbde3c2326e [19/34] Merge tag 'lts-v5.4.61-yocto-200907T010133Z' into lts2019/preempt-rt
config: hexagon-randconfig-r045-20210827 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1076082a0d97bd5c16a25ee7cf3dbb6ee4b5a9fe)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/intel/linux-intel-lts/commit/24d1b5860a8e4a8c0b4d75e3041e0bbde3c2326e
        git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
        git fetch --no-tags intel-linux-intel-lts 5.4/preempt-rt
        git checkout 24d1b5860a8e4a8c0b4d75e3041e0bbde3c2326e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/of/base.c:139:6: warning: no previous prototype for function '__of_phandle_cache_inv_entry' [-Wmissing-prototypes]
   void __of_phandle_cache_inv_entry(phandle handle)
        ^
   drivers/of/base.c:139:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __of_phandle_cache_inv_entry(phandle handle)
   ^
   static 
   1 warning generated.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for FRAME_POINTER
   Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
   Selected by
   - LATENCYTOP && DEBUG_KERNEL && STACKTRACE_SUPPORT && PROC_FS && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86
   - LOCKDEP && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && !MIPS && !PPC && !ARM && !S390 && !MICROBLAZE && !ARC && !X86


vim +/__of_phandle_cache_inv_entry +139 drivers/of/base.c

b8a9ac1a5b99a2 Frank Rowand 2018-12-18  135  
5801169a2ed200 Frank Rowand 2018-12-18  136  /*
5801169a2ed200 Frank Rowand 2018-12-18  137   * Caller must hold devtree_lock.
5801169a2ed200 Frank Rowand 2018-12-18  138   */
df2caf070bea08 Rob Herring  2019-12-11 @139  void __of_phandle_cache_inv_entry(phandle handle)
5801169a2ed200 Frank Rowand 2018-12-18  140  {
df2caf070bea08 Rob Herring  2019-12-11  141  	u32 handle_hash;
5801169a2ed200 Frank Rowand 2018-12-18  142  	struct device_node *np;
5801169a2ed200 Frank Rowand 2018-12-18  143  
5801169a2ed200 Frank Rowand 2018-12-18  144  	if (!handle)
5801169a2ed200 Frank Rowand 2018-12-18  145  		return;
5801169a2ed200 Frank Rowand 2018-12-18  146  
df2caf070bea08 Rob Herring  2019-12-11  147  	handle_hash = of_phandle_cache_hash(handle);
5801169a2ed200 Frank Rowand 2018-12-18  148  
df2caf070bea08 Rob Herring  2019-12-11  149  	np = phandle_cache[handle_hash];
df2caf070bea08 Rob Herring  2019-12-11  150  	if (np && handle == np->phandle)
df2caf070bea08 Rob Herring  2019-12-11  151  		phandle_cache[handle_hash] = NULL;
0b3ce78e90fc66 Frank Rowand 2018-03-04  152  }
0b3ce78e90fc66 Frank Rowand 2018-03-04  153  

:::::: The code at line 139 was first introduced by commit
:::::: df2caf070bea084d30ccc03b8f7fc1a2011f3e71 of: Rework and simplify phandle cache to use a fixed size

:::::: TO: Rob Herring <robh@kernel.org>
:::::: CC: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 22605 bytes --]

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

only message in thread, other threads:[~2021-08-27 22:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-27 22:11 [intel-linux-intel-lts:5.4/preempt-rt 19/34] drivers/of/base.c:139:6: warning: no previous prototype for function '__of_phandle_cache_inv_entry' 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.