[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'

kbuild test robot fengguang.wu at intel.com
Wed May 24 20:06:29 CEST 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 33818 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170525/df11fca2/attachment-0001.bin>


More information about the Alsa-devel mailing list