Hi Kuninori,
[auto build test ERROR on asoc/for-next] [also build test ERROR on next-20170210] [cannot apply to v4.10-rc8] [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: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next config: i386-randconfig-x003-201707 (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=i386
All errors (new ones prefixed by >>):
sound/soc/generic/simple-card-utils.c: In function 'asoc_simple_card_parse_graph_dai':
sound/soc/generic/simple-card-utils.c:191:21: error: too few arguments to function 'of_graph_get_endpoint_count'
args.args_count = (of_graph_get_endpoint_count(node) > 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sound/soc/generic/simple-card-utils.c:13:0: include/linux/of_graph.h:66:19: note: declared here static inline int of_graph_get_endpoint_count(const struct device_node *np, ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/of_graph_get_endpoint_count +191 sound/soc/generic/simple-card-utils.c
185 of_node_get(ep); 186 node = of_graph_get_port_parent(ep); 187 188 /* Get dai->name */ 189 args.np = node; 190 args.args[0] = snd_soc_get_dai_id(ep);
191 args.args_count = (of_graph_get_endpoint_count(node) > 1);
192 193 ret = snd_soc_get_dai_name(&args, dai_name); 194 if (ret < 0)
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation