From: kbuild test robot <lkp@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: kbuild-all@01.org, Mark Brown <broonie@kernel.org>,
Laurent <laurent.pinchart@ideasonboard.com>,
Lars-Peter Clausen <lars@metafoo.de>,
Jose Abreu <Jose.Abreu@synopsys.com>,
Linux-DT <devicetree@vger.kernel.org>,
Linux-ALSA <alsa-devel@alsa-project.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
Simon <horms@verge.net.au>
Subject: Re: [alsa-devel] [PATCH 2/4] ASoC: add of_parse_snd_connection_with_args() for sound-dai/graph connection
Date: Thu, 14 Apr 2016 14:17:41 +0800 [thread overview]
Message-ID: <201604141448.2STegOrD%fengguang.wu@intel.com> (raw)
In-Reply-To: <87y48gvj9i.wl%kuninori.morimoto.gx@renesas.com>
[-- Attachment #1: Type: text/plain, Size: 2154 bytes --]
Hi Kuninori,
[auto build test WARNING on asoc/for-next]
[also build test WARNING on v4.6-rc3 next-20160413]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Kuninori-Morimoto/ASoC-add-graph-base-connection-on-simple-card/20160414-135303
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: x86_64-randconfig-x013-201615 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
sound/soc/soc-core.c: In function 'of_parse_snd_soc_connection_with_args':
>> sound/soc/soc-core.c:3848:35: warning: passing argument 1 of 'of_parse_phandle_with_args' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
ret = of_parse_phandle_with_args(np, "sound-dai",
^
In file included from sound/soc/soc-core.c:36:0:
include/linux/of.h:588:19: note: expected 'struct device_node *' but argument is of type 'const struct device_node *'
static inline int of_parse_phandle_with_args(struct device_node *np,
^
vim +3848 sound/soc/soc-core.c
3832 *dai_name = pos->dai_drv[id].name;
3833 if (!*dai_name)
3834 *dai_name = pos->name;
3835 }
3836
3837 break;
3838 }
3839 mutex_unlock(&client_mutex);
3840 return ret;
3841 }
3842
3843 int of_parse_snd_soc_connection_with_args(const struct device_node *np,
3844 struct of_phandle_args *out_args)
3845 {
3846 int ret;
3847
> 3848 ret = of_parse_phandle_with_args(np, "sound-dai",
3849 "#sound-dai-cells", 0, out_args);
3850 if (ret) {
3851 struct device_node *p_node = NULL;
3852 struct device_node *ep_node = NULL;
3853 struct of_endpoint ep;
3854
3855 /* try graph base parse */
3856 p_node = of_graph_get_remote_port_parent(np);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 28358 bytes --]
next prev parent reply other threads:[~2016-04-14 6:17 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-14 5:45 [PATCH 0/4] ASoC: add graph base connection on simple-card Kuninori Morimoto
2016-04-14 5:47 ` [PATCH 1/4] of_graph: add of_graph_get_endpoint_count() Kuninori Morimoto
2016-04-14 5:47 ` [PATCH 2/4] ASoC: add of_parse_snd_connection_with_args() for sound-dai/graph connection Kuninori Morimoto
2016-04-14 6:17 ` kbuild test robot [this message]
2016-04-14 7:07 ` [PATCH] of: add missing const for of_parse_phandle_with_args() in !CONFIG_OF Kuninori Morimoto
2016-04-14 7:07 ` Kuninori Morimoto
2016-05-10 2:53 ` [PATCH][RESEND] " Kuninori Morimoto
2016-05-10 2:53 ` Kuninori Morimoto
2016-04-14 5:48 ` [PATCH 3/4] ASoC: snd_soc_of_get_dai_name() uses of_parse_snd_soc_connection_with_args() Kuninori Morimoto
2016-04-14 5:48 ` [PATCH 4/4] ASoC: simple-card: probe both sound-dai and remote-endpoint Kuninori Morimoto
[not found] ` <871t68wxxe.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2016-04-14 9:01 ` [alsa-devel] [PATCH 0/4] ASoC: add graph base connection on simple-card Jean-Francois Moine
2016-04-14 9:01 ` Jean-Francois Moine
[not found] ` <20160414110128.56a0da97d526cdcb8d5f1ddf-GANU6spQydw@public.gmane.org>
2016-04-15 7:25 ` Kuninori Morimoto
2016-04-15 7:25 ` Kuninori Morimoto
2016-04-15 9:26 ` Kuninori Morimoto
2016-04-15 11:31 ` Jean-Francois Moine
2016-04-15 11:31 ` Jean-Francois Moine
2016-04-18 2:43 ` Kuninori Morimoto
2016-04-18 2:43 ` [alsa-devel] " Kuninori Morimoto
[not found] ` <87r3e3ej5t.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2016-04-18 7:38 ` Jean-Francois Moine
2016-04-18 7:38 ` Jean-Francois Moine
2016-04-20 2:55 ` Kuninori Morimoto
2016-04-20 16:18 ` Jean-Francois Moine
2016-04-20 16:18 ` Jean-Francois Moine
2016-04-18 17:12 ` Rob Herring
2016-04-18 17:12 ` Rob Herring
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=201604141448.2STegOrD%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=Jose.Abreu@synopsys.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=horms@verge.net.au \
--cc=kbuild-all@01.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lars@metafoo.de \
--cc=laurent.pinchart@ideasonboard.com \
--cc=lgirdwood@gmail.com \
--cc=linux-renesas-soc@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.