tree:
https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git opp/linux-next
head: c22a734841b15d71e22da885f9262cd9b4dd573b
commit: 12fa389dcf86bab4d8d20ac68ef97a72bfdf2246 [4/9] OPP: Add support for parsing
interconnect bandwidth
config: i386-randconfig-r015-20200513 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce:
git checkout 12fa389dcf86bab4d8d20ac68ef97a72bfdf2246
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: drivers/opp/core.o: in function `_opp_table_kref_release':
> drivers/opp/core.c:1076: undefined reference to `icc_put'
ld: drivers/opp/of.o: in function `dev_pm_opp_of_find_icc_paths':
> drivers/opp/of.c:364: undefined reference to
`of_icc_get_by_index'
> ld: drivers/opp/of.c:383: undefined reference to `icc_put'
vim +1076 drivers/opp/core.c
1061
1062 static void _opp_table_kref_release(struct kref *kref)
1063 {
1064 struct opp_table *opp_table = container_of(kref, struct opp_table, kref);
1065 struct opp_device *opp_dev, *temp;
1066 int i;
1067
1068 _of_clear_opp_table(opp_table);
1069
1070 /* Release clk */
1071 if (!IS_ERR(opp_table->clk))
1072 clk_put(opp_table->clk);
1073
1074 if (opp_table->paths) {
1075 for (i = 0; i < opp_table->path_count; i++)
1076 icc_put(opp_table->paths[i]);
1077 kfree(opp_table->paths);
1078 }
1079
1080 WARN_ON(!list_empty(&opp_table->opp_list));
1081
1082 list_for_each_entry_safe(opp_dev, temp, &opp_table->dev_list, node) {
1083 /*
1084 * The OPP table is getting removed, drop the performance state
1085 * constraints.
1086 */
1087 if (opp_table->genpd_performance_state)
1088 dev_pm_genpd_set_performance_state((struct device *)(opp_dev->dev), 0);
1089
1090 _remove_opp_dev(opp_dev, opp_table);
1091 }
1092
1093 mutex_destroy(&opp_table->genpd_virt_dev_lock);
1094 mutex_destroy(&opp_table->lock);
1095 list_del(&opp_table->node);
1096 kfree(opp_table);
1097
1098 mutex_unlock(&opp_table_lock);
1099 }
1100
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org