Re: [PATCH 2/3] interconnect: Reintroduce icc_get()

From: kernel test robot
Date: Tue Jul 25 2023 - 04:08:04 EST


Hi Mike,

kernel test robot noticed the following build warnings:

[auto build test WARNING on driver-core/driver-core-testing]
[also build test WARNING on driver-core/driver-core-next driver-core/driver-core-linus linus/master v6.5-rc3 next-20230725]
[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#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Mike-Tipton/debugfs-Add-write-support-to-debugfs_create_str/20230725-093242
base: driver-core/driver-core-testing
patch link: https://lore.kernel.org/r/20230725012859.18474-3-quic_mdtipton%40quicinc.com
patch subject: [PATCH 2/3] interconnect: Reintroduce icc_get()
config: um-randconfig-m031-20230725 (https://download.01.org/0day-ci/archive/20230725/202307251508.Z4w38USw-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230725/202307251508.Z4w38USw-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307251508.Z4w38USw-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

In file included from drivers/opp/opp.h:15,
from drivers/opp/core.c:23:
>> include/linux/interconnect.h:63:18: warning: no previous prototype for 'icc_get' [-Wmissing-prototypes]
63 | struct icc_path *icc_get(struct device *dev, const char *src, const char *dst)
| ^~~~~~~


vim +/icc_get +63 include/linux/interconnect.h

62
> 63 struct icc_path *icc_get(struct device *dev, const char *src, const char *dst)
64 {
65 return NULL;
66 }
67

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki