tree:
https://android.googlesource.com/kernel/common android-4.19-stable
head: d04d01063d59d645790c770e4db46842e8c3e01a
commit: 3179a1a38d96f565a2229b9244285c6abf62b10a [14825/18759] ANDROID: GKI: clk: Add
support for voltage voting
config: x86_64-randconfig-a016-20201019 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
ea693a162786d933863ab079648d4261ac0ead47)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-4.19-stable
git checkout 3179a1a38d96f565a2229b9244285c6abf62b10a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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/clk/clk.c:3145:5: warning: no previous prototype for
function 'clk_set_flags' [-Wmissing-prototypes]
int clk_set_flags(struct
clk *clk, unsigned long flags)
^
drivers/clk/clk.c:3145:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int clk_set_flags(struct clk *clk, unsigned long flags)
^
static
> drivers/clk/clk.c:3157:6: warning: no previous prototype for
function 'clk_debug_print_hw' [-Wmissing-prototypes]
void
clk_debug_print_hw(struct clk_core *clk, struct seq_file *f)
^
drivers/clk/clk.c:3157:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void clk_debug_print_hw(struct clk_core *clk, struct seq_file *f)
^
static
2 warnings generated.
drivers/clk/clk.c:4257: warning: Function parameter or member 'dev' not
described in 'devm_clk_unregister'
drivers/clk/clk.c:4455: warning: Function parameter or member 'get_hw' not
described in 'of_clk_provider'
vim +/clk_set_flags +3145 drivers/clk/clk.c
3144
3145 int clk_set_flags(struct clk *clk, unsigned long flags)
3146 {
3147 if (!clk)
3148 return 0;
3149
3150 if (!clk->core->ops->set_flags)
3151 return -EINVAL;
3152
3153 return clk->core->ops->set_flags(clk->core->hw, flags);
3154 }
3155 EXPORT_SYMBOL_GPL(clk_set_flags);
3156
3157 void clk_debug_print_hw(struct clk_core *clk, struct seq_file
*f)
3158 {
3159 }
3160 EXPORT_SYMBOL(clk_debug_print_hw);
3161
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org