tree:
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.4.y
head: 39a31e930c9ef3b4f39306c49cbaa9c58c94e353
commit: 39a31e930c9ef3b4f39306c49cbaa9c58c94e353 [10/10] Merged TI feature
ti_linux_base_rt into ti-rt-linux-5.4.y
config: mips-randconfig-r012-20201209 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
5ff35356f1af2bb92785b38c657463924d9ec386)
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
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
git remote add ti
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-rt-linux-5.4.y
git checkout 39a31e930c9ef3b4f39306c49cbaa9c58c94e353
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/of/base.c:151: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:151: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.
vim +/__of_phandle_cache_inv_entry +151 drivers/of/base.c
b8a9ac1a5b99a2 Frank Rowand 2018-12-18 147
5801169a2ed200 Frank Rowand 2018-12-18 148 /*
5801169a2ed200 Frank Rowand 2018-12-18 149 * Caller must hold devtree_lock.
5801169a2ed200 Frank Rowand 2018-12-18 150 */
df2caf070bea08 Rob Herring 2019-12-11 @151 void __of_phandle_cache_inv_entry(phandle
handle)
5801169a2ed200 Frank Rowand 2018-12-18 152 {
df2caf070bea08 Rob Herring 2019-12-11 153 u32 handle_hash;
5801169a2ed200 Frank Rowand 2018-12-18 154 struct device_node *np;
5801169a2ed200 Frank Rowand 2018-12-18 155
5801169a2ed200 Frank Rowand 2018-12-18 156 if (!handle)
5801169a2ed200 Frank Rowand 2018-12-18 157 return;
5801169a2ed200 Frank Rowand 2018-12-18 158
df2caf070bea08 Rob Herring 2019-12-11 159 handle_hash =
of_phandle_cache_hash(handle);
5801169a2ed200 Frank Rowand 2018-12-18 160
df2caf070bea08 Rob Herring 2019-12-11 161 np = phandle_cache[handle_hash];
df2caf070bea08 Rob Herring 2019-12-11 162 if (np && handle == np->phandle)
df2caf070bea08 Rob Herring 2019-12-11 163 phandle_cache[handle_hash] = NULL;
0b3ce78e90fc66 Frank Rowand 2018-03-04 164 }
0b3ce78e90fc66 Frank Rowand 2018-03-04 165
:::::: The code at line 151 was first introduced by commit
:::::: df2caf070bea084d30ccc03b8f7fc1a2011f3e71 of: Rework and simplify phandle cache to
use a fixed size
:::::: TO: Rob Herring <robh(a)kernel.org>
:::::: CC: Sebastian Andrzej Siewior <bigeasy(a)linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org