[alsa-devel] [PATCH v3 12/17] ASoC: simple-card-utils: add asoc_simple_card_try_to_probe_graph_card()

kbuild test robot lkp at intel.com
Fri Nov 11 03:07:17 CET 2016


Hi Kuninori,

[auto build test ERROR on asoc/for-next]
[also build test ERROR on v4.9-rc4 next-20161110]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Kuninori-Morimoto/ASoC-add-OF-graph-base-simple-card/20161111-093231
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: x86_64-randconfig-x010-201645 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   sound/soc/generic/simple-card-utils.c: In function 'asoc_simple_card_try_to_probe_graph_card':
>> sound/soc/generic/simple-card-utils.c:297:9: error: implicit declaration of function 'of_graph_get_top_port' [-Werror=implicit-function-declaration]
     node = of_graph_get_top_port(dev);
            ^~~~~~~~~~~~~~~~~~~~~
>> sound/soc/generic/simple-card-utils.c:297:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     node = of_graph_get_top_port(dev);
          ^
   cc1: some warnings being treated as errors

vim +/of_graph_get_top_port +297 sound/soc/generic/simple-card-utils.c

   291	{
   292		struct platform_device_info pdevinfo;
   293		struct device_node *node;
   294		const char *compatible;
   295		int ret;
   296	
 > 297		node = of_graph_get_top_port(dev);
   298		if (!node || !info)
   299			/*
   300			 * It doesn't have graph base sound DT, or its infomation.

---
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: 23944 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20161111/b7f121eb/attachment-0001.bin>


More information about the Alsa-devel mailing list