All of lore.kernel.org
 help / color / mirror / Atom feed
* [vireshk-pm:opp/linux-next 4/9] drivers/opp/core.c:1076: undefined reference to `icc_put'
@ 2020-05-13 16:43 kbuild test robot
  2020-05-13 17:58 ` Matthias Kaehlcke
  0 siblings, 1 reply; 6+ messages in thread
From: kbuild test robot @ 2020-05-13 16:43 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2435 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git opp/linux-next
head:   b9fd171ae7781c5eb2ecc5f3a59cb41b33c05be0
commit: 6b6c64a05ad880d425db18c52b7ff79d4be148a6 [4/9] OPP: Add support for parsing interconnect bandwidth
config: x86_64-randconfig-a002-20200513 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        git checkout 6b6c64a05ad880d425db18c52b7ff79d4be148a6
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31511 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [vireshk-pm:opp/linux-next 4/9] drivers/opp/core.c:1076: undefined reference to `icc_put'
@ 2020-05-14  1:16 kbuild test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kbuild test robot @ 2020-05-14  1:16 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2434 bytes --]

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@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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34575 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-14  6:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-13 16:43 [vireshk-pm:opp/linux-next 4/9] drivers/opp/core.c:1076: undefined reference to `icc_put' kbuild test robot
2020-05-13 17:58 ` Matthias Kaehlcke
2020-05-14  6:24   ` Georgi Djakov
2020-05-14  6:38     ` Viresh Kumar
2020-05-14  6:46       ` Viresh Kumar
  -- strict thread matches above, loose matches on Subject: below --
2020-05-14  1:16 kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.