[alsa-devel] [asoc:topic/dai-id 1/1] sound/soc/soc-core.c:4054:9: error: implicit declaration of function 'of_graph_get_port_parent'

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu May 25 01:29:52 CEST 2017


Hi Mark

This and below kbuild report are all related to of-graph

	Subject: [linux-next:master 1926/2534] sound/soc/sh/rcar/core.c:891:8: error: implicit declaration of function 'of_graph_get_endpoint_count'
	Subject: [linux-next:master 1927/2534] sound/soc/sh/rcar/ssi.c:888:14: error: implicit declaration of function 'of_graph_get_remote_endpoint'

and it seems these are not based on mark/topic/of-graph branch.
Maybe no problem for next merge

kbuild test robot wrote:
> 
> [1  <text/plain; us-ascii (7bit)>]
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/dai-id
> head:   a180e8b988437b3e84a1b501ac4d073467602ca6
> commit: a180e8b988437b3e84a1b501ac4d073467602ca6 [1/1] ASoC: add snd_soc_get_dai_id() function
> config: x86_64-randconfig-x010-201721 (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         git checkout a180e8b988437b3e84a1b501ac4d073467602ca6
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All error/warnings (new ones prefixed by >>):
> 
>    sound/soc/soc-core.c: In function 'snd_soc_get_dai_id':
> >> sound/soc/soc-core.c:4054:9: error: implicit declaration of function 'of_graph_get_port_parent' [-Werror=implicit-function-declaration]
>      node = of_graph_get_port_parent(ep);
>             ^~~~~~~~~~~~~~~~~~~~~~~~
> >> sound/soc/soc-core.c:4054:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
>      node = of_graph_get_port_parent(ep);
>           ^
>    cc1: some warnings being treated as errors
> 
> vim +/of_graph_get_port_parent +4054 sound/soc/soc-core.c
> 
>   4048	int snd_soc_get_dai_id(struct device_node *ep)
>   4049	{
>   4050		struct snd_soc_component *pos;
>   4051		struct device_node *node;
>   4052		int ret;
>   4053	
> > 4054		node = of_graph_get_port_parent(ep);
>   4055	
>   4056		/*
>   4057		 * For example HDMI case, HDMI has video/sound port,
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> [2 .config.gz <application/gzip (base64)>]
> 


Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list