Re: [PATCH 2/8] interconnect: add device managed bulk API

From: kernel test robot
Date: Wed Jun 01 2022 - 08:34:11 EST


Hi "Peng,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on shawnguo/for-next]
[also build test WARNING on robh/for-next linus/master v5.18 next-20220601]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/intel-lab-lkp/linux/commits/Peng-Fan-OSS/interconnect-support-i-MX8MP/20220601-174431
base: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next
config: hexagon-randconfig-r041-20220531 (https://download.01.org/0day-ci/archive/20220601/202206012000.wFYpOdWH-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c825abd6b0198fb088d9752f556a70705bc99dfd)
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-lab-lkp/linux/commit/23ecbba75b21962f25975cb014cf981a0420dae1
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Peng-Fan-OSS/interconnect-support-i-MX8MP/20220601-174431
git checkout 23ecbba75b21962f25975cb014cf981a0420dae1
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/opp/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

In file included from drivers/opp/core.c:22:
In file included from drivers/opp/opp.h:15:
>> include/linux/interconnect.h:120:5: warning: no previous prototype for function 'devm_of_icc_bulk_get' [-Wmissing-prototypes]
int devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths)
^
include/linux/interconnect.h:120:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths)
^
static
1 warning generated.


vim +/devm_of_icc_bulk_get +120 include/linux/interconnect.h

119
> 120 int devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths)
121 {
122 return 0;
123 }
124

--
0-DAY CI Kernel Test Service
https://01.org/lkp