linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc: imx8m: Make imx8m_dsp_ops static
@ 2020-04-25  8:00 ChenTao
  2020-04-28 16:10 ` Kai Vehmanen
  2020-04-28 16:42 ` Daniel Baluta
  0 siblings, 2 replies; 4+ messages in thread
From: ChenTao @ 2020-04-25  8:00 UTC (permalink / raw)
  To: perex, shawnguo, tiwai, s.hauer
  Cc: lgirdwood, ranjani.sridharan, kai.vehmanen, festevam,
	linux-kernel, chentao107

Fix the following warning:

sound/soc/sof/imx/imx8m.c:95:20: warning:
symbol 'imx8m_dsp_ops' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: ChenTao <chentao107@huawei.com>
---
 sound/soc/sof/imx/imx8m.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/sof/imx/imx8m.c b/sound/soc/sof/imx/imx8m.c
index 07451ba4efae..1a5b0f9ebac1 100644
--- a/sound/soc/sof/imx/imx8m.c
+++ b/sound/soc/sof/imx/imx8m.c
@@ -92,7 +92,7 @@ static void imx8m_dsp_handle_request(struct imx_dsp_ipc *ipc)
 	snd_sof_ipc_msgs_rx(priv->sdev);
 }
 
-struct imx_dsp_ops imx8m_dsp_ops = {
+static struct imx_dsp_ops imx8m_dsp_ops = {
 	.handle_reply		= imx8m_dsp_handle_reply,
 	.handle_request		= imx8m_dsp_handle_request,
 };
-- 
2.22.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] soc: imx8m: Make imx8m_dsp_ops static
  2020-04-25  8:00 [PATCH] soc: imx8m: Make imx8m_dsp_ops static ChenTao
@ 2020-04-28 16:10 ` Kai Vehmanen
  2020-04-28 16:42 ` Daniel Baluta
  1 sibling, 0 replies; 4+ messages in thread
From: Kai Vehmanen @ 2020-04-28 16:10 UTC (permalink / raw)
  To: ChenTao
  Cc: Jaroslav Kysela, shawnguo, tiwai, s.hauer, lgirdwood,
	ranjani.sridharan, kai.vehmanen, festevam, linux-kernel,
	daniel.baluta

Hi,

[+Daniel]

On Sat, 25 Apr 2020, ChenTao wrote:

> Fix the following warning:
> 
> sound/soc/sof/imx/imx8m.c:95:20: warning:
> symbol 'imx8m_dsp_ops' was not declared. Should it be static?

yes, this was missed in the initial version of this driver. Ok to go with 
this:

Acked-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>

You did not send a copy of the patch to Mark Brown (broonie@kernel.org). 
Can you resend with him in the loop, so he can pick the patch up to ALSA 
ASoC tree. Also please copy the ALSA list (alsa-devel@alsa-project.org).

Br, Kai

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] soc: imx8m: Make imx8m_dsp_ops static
  2020-04-25  8:00 [PATCH] soc: imx8m: Make imx8m_dsp_ops static ChenTao
  2020-04-28 16:10 ` Kai Vehmanen
@ 2020-04-28 16:42 ` Daniel Baluta
  2020-04-29  1:46   ` chentao (AS)
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel Baluta @ 2020-04-28 16:42 UTC (permalink / raw)
  To: ChenTao
  Cc: Jaroslav Kysela, Shawn Guo, Takashi Iwai, Sascha Hauer,
	Liam Girdwood, Ranjani Sridharan, kai.vehmanen, Fabio Estevam,
	Linux Kernel Mailing List

On Sat, Apr 25, 2020 at 11:03 AM ChenTao <chentao107@huawei.com> wrote:
>
> Fix the following warning:
>
> sound/soc/sof/imx/imx8m.c:95:20: warning:
> symbol 'imx8m_dsp_ops' was not declared. Should it be static?
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: ChenTao <chentao107@huawei.com>

Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>

Can you please resend (picking Acked-by/Reviewed-by tags) and
as Kai said add:

To: Mark Brown (broonie@kernel.org
Cc: alsa-devel@alsa-project.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] soc: imx8m: Make imx8m_dsp_ops static
  2020-04-28 16:42 ` Daniel Baluta
@ 2020-04-29  1:46   ` chentao (AS)
  0 siblings, 0 replies; 4+ messages in thread
From: chentao (AS) @ 2020-04-29  1:46 UTC (permalink / raw)
  To: Daniel Baluta
  Cc: Jaroslav Kysela, Shawn Guo, Takashi Iwai, Sascha Hauer,
	Liam Girdwood, Ranjani Sridharan, kai.vehmanen, Fabio Estevam,
	Linux Kernel Mailing List

Thanks a lot, i will resend v2 and add  Mark Brown broonie@kernel.org  
alsa-devel@alsa-project.org

On 2020/4/29 0:42, Daniel Baluta wrote:
> On Sat, Apr 25, 2020 at 11:03 AM ChenTao <chentao107@huawei.com> wrote:
>> Fix the following warning:
>>
>> sound/soc/sof/imx/imx8m.c:95:20: warning:
>> symbol 'imx8m_dsp_ops' was not declared. Should it be static?
>>
>> Reported-by: Hulk Robot <hulkci@huawei.com>
>> Signed-off-by: ChenTao <chentao107@huawei.com>
> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
>
> Can you please resend (picking Acked-by/Reviewed-by tags) and
> as Kai said add:
>
> To: Mark Brown (broonie@kernel.org
> Cc: alsa-devel@alsa-project.org
> .

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-29  1:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-25  8:00 [PATCH] soc: imx8m: Make imx8m_dsp_ops static ChenTao
2020-04-28 16:10 ` Kai Vehmanen
2020-04-28 16:42 ` Daniel Baluta
2020-04-29  1:46   ` chentao (AS)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).