linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Vinod Koul <vkoul@kernel.org>
Subject: [linux-next:master 2212/12283] drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c:1031:undefined reference to `__clk_get_name'
Date: Wed, 18 Sep 2024 03:41:36 +0800	[thread overview]
Message-ID: <202409180305.53PXymZn-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   4f3e012d4cfd1d9bf837870c961f462ca9f23ebe
commit: c4b09c562086f32588d962d30d0b7e93fe3e7cbb [2212/12283] phy: phy-rockchip-samsung-hdptx: Add clock provider support
config: m68k-randconfig-r064-20240801 (https://download.01.org/0day-ci/archive/20240918/202409180305.53PXymZn-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240918/202409180305.53PXymZn-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409180305.53PXymZn-lkp@intel.com/

All errors (new ones prefixed by >>):

   m68k-linux-ld: drivers/phy/rockchip/phy-rockchip-samsung-hdptx.o: in function `rk_hdptx_phy_clk_register':
>> drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c:1031:(.text+0x470): undefined reference to `__clk_get_name'
>> m68k-linux-ld: drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c:1036:(.text+0x4ba): undefined reference to `devm_clk_hw_register'
>> m68k-linux-ld: drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c:1040:(.text+0x4d2): undefined reference to `of_clk_hw_simple_get'
>> m68k-linux-ld: drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c:1040:(.text+0x4da): undefined reference to `devm_of_clk_add_hw_provider'


vim +1031 drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c

  1016	
  1017	static int rk_hdptx_phy_clk_register(struct rk_hdptx_phy *hdptx)
  1018	{
  1019		struct device *dev = hdptx->dev;
  1020		const char *name, *pname;
  1021		struct clk *refclk;
  1022		int ret, id;
  1023	
  1024		refclk = devm_clk_get(dev, "ref");
  1025		if (IS_ERR(refclk))
  1026			return dev_err_probe(dev, PTR_ERR(refclk),
  1027					     "Failed to get ref clock\n");
  1028	
  1029		id = of_alias_get_id(dev->of_node, "hdptxphy");
  1030		name = id > 0 ? "clk_hdmiphy_pixel1" : "clk_hdmiphy_pixel0";
> 1031		pname = __clk_get_name(refclk);
  1032	
  1033		hdptx->hw.init = CLK_HW_INIT(name, pname, &hdptx_phy_clk_ops,
  1034					     CLK_GET_RATE_NOCACHE);
  1035	
> 1036		ret = devm_clk_hw_register(dev, &hdptx->hw);
  1037		if (ret)
  1038			return dev_err_probe(dev, ret, "Failed to register clock\n");
  1039	
> 1040		ret = devm_of_clk_add_hw_provider(dev, of_clk_hw_simple_get, &hdptx->hw);
  1041		if (ret)
  1042			return dev_err_probe(dev, ret,
  1043					     "Failed to register clk provider\n");
  1044		return 0;
  1045	}
  1046	

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


                 reply	other threads:[~2024-09-17 19:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202409180305.53PXymZn-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cristian.ciocaltea@collabora.com \
    --cc=linux-mm@kvack.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox