All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array
@ 2016-10-17 22:02 Colin King
  2016-10-18 11:16 ` Takashi Sakamoto
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Colin King @ 2016-10-17 22:02 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Sathyanarayana Nujella, Vinod Koul, Yong Zhi, Takashi Sakamoto,
	alsa-devel
  Cc: linux-kernel

From: Colin Ian King <colin.king@canonical.com>

Smatch reports below warnings:

    bxt_da7219_max98357a.c:352:9: warning: obsolete array initializer,
    use C99 syntax

An earlier commit cleaned up similar warnings, however, a recent
commit 43c02ede76a60de ("ASoC: Intel: Add DMIC channel constraint for
bxt machine") re-introduced the older initializer style. So fix
this warning to make the code consistent.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 sound/soc/intel/boards/bxt_da7219_max98357a.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/intel/boards/bxt_da7219_max98357a.c b/sound/soc/intel/boards/bxt_da7219_max98357a.c
index 865a21e..bff80b4 100644
--- a/sound/soc/intel/boards/bxt_da7219_max98357a.c
+++ b/sound/soc/intel/boards/bxt_da7219_max98357a.c
@@ -348,7 +348,7 @@ static struct snd_soc_dai_link broxton_dais[] = {
 		.dynamic = 1,
 		.ops = &broxton_refcap_ops,
 	},
-	[BXT_DPCM_AUDIO_DMIC_CP]
+	[BXT_DPCM_AUDIO_DMIC_CP] =
 	{
 		.name = "Bxt Audio DMIC cap",
 		.stream_name = "dmiccap",
-- 
2.9.3

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

* Re: [PATCH] ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array
  2016-10-17 22:02 [PATCH] ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array Colin King
@ 2016-10-18 11:16 ` Takashi Sakamoto
  2016-10-18 13:56 ` Vinod Koul
  2016-10-24 18:03   ` Mark Brown
  2 siblings, 0 replies; 5+ messages in thread
From: Takashi Sakamoto @ 2016-10-18 11:16 UTC (permalink / raw)
  To: Colin King, Liam Girdwood, Mark Brown, Jaroslav Kysela,
	Takashi Iwai, Sathyanarayana Nujella, Vinod Koul, Yong Zhi,
	alsa-devel
  Cc: linux-kernel

On 2016年10月18日 07:02, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Smatch reports below warnings:
> 
>     bxt_da7219_max98357a.c:352:9: warning: obsolete array initializer,
>     use C99 syntax
> 
> An earlier commit cleaned up similar warnings, however, a recent
> commit 43c02ede76a60de ("ASoC: Intel: Add DMIC channel constraint for
> bxt machine") re-introduced the older initializer style. So fix
> this warning to make the code consistent.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  sound/soc/intel/boards/bxt_da7219_max98357a.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>

> diff --git a/sound/soc/intel/boards/bxt_da7219_max98357a.c b/sound/soc/intel/boards/bxt_da7219_max98357a.c
> index 865a21e..bff80b4 100644
> --- a/sound/soc/intel/boards/bxt_da7219_max98357a.c
> +++ b/sound/soc/intel/boards/bxt_da7219_max98357a.c
> @@ -348,7 +348,7 @@ static struct snd_soc_dai_link broxton_dais[] = {
>  		.dynamic = 1,
>  		.ops = &broxton_refcap_ops,
>  	},
> -	[BXT_DPCM_AUDIO_DMIC_CP]
> +	[BXT_DPCM_AUDIO_DMIC_CP] =
>  	{
>  		.name = "Bxt Audio DMIC cap",
>  		.stream_name = "dmiccap",
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: [PATCH] ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array
  2016-10-17 22:02 [PATCH] ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array Colin King
  2016-10-18 11:16 ` Takashi Sakamoto
@ 2016-10-18 13:56 ` Vinod Koul
  2016-10-24 18:03   ` Mark Brown
  2 siblings, 0 replies; 5+ messages in thread
From: Vinod Koul @ 2016-10-18 13:56 UTC (permalink / raw)
  To: Colin King
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Sathyanarayana Nujella, Yong Zhi, Takashi Sakamoto, alsa-devel,
	linux-kernel

On Mon, Oct 17, 2016 at 11:02:56PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Smatch reports below warnings:
> 
>     bxt_da7219_max98357a.c:352:9: warning: obsolete array initializer,
>     use C99 syntax
> 
> An earlier commit cleaned up similar warnings, however, a recent
> commit 43c02ede76a60de ("ASoC: Intel: Add DMIC channel constraint for
> bxt machine") re-introduced the older initializer style. So fix
> this warning to make the code consistent.

Acked-by: Vinod Koul <vinod.koul@intel.com>

-- 
~Vinod

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

* Applied "ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array" to the asoc tree
  2016-10-17 22:02 [PATCH] ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array Colin King
@ 2016-10-24 18:03   ` Mark Brown
  2016-10-18 13:56 ` Vinod Koul
  2016-10-24 18:03   ` Mark Brown
  2 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2016-10-24 18:03 UTC (permalink / raw)
  To: Colin Ian King
  Cc: Vinod Koul, Mark Brown, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai, Sathyanarayana Nujella,
	Vinod Koul, Yong Zhi, Takashi Sakamoto, alsa-devel, linux-kernel

The patch

   ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array

has been applied to the asoc tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From 89c03ddbb9aafe370e7d1ebe07258ae755588bdc Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.king@canonical.com>
Date: Mon, 17 Oct 2016 23:02:56 +0100
Subject: [PATCH] ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for
 array

Smatch reports below warnings:

    bxt_da7219_max98357a.c:352:9: warning: obsolete array initializer,
    use C99 syntax

An earlier commit cleaned up similar warnings, however, a recent
commit 43c02ede76a60de ("ASoC: Intel: Add DMIC channel constraint for
bxt machine") re-introduced the older initializer style. So fix
this warning to make the code consistent.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/intel/boards/bxt_da7219_max98357a.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/intel/boards/bxt_da7219_max98357a.c b/sound/soc/intel/boards/bxt_da7219_max98357a.c
index 865a21e557cc..bff80b467262 100644
--- a/sound/soc/intel/boards/bxt_da7219_max98357a.c
+++ b/sound/soc/intel/boards/bxt_da7219_max98357a.c
@@ -348,7 +348,7 @@ static struct snd_soc_dai_link broxton_dais[] = {
 		.dynamic = 1,
 		.ops = &broxton_refcap_ops,
 	},
-	[BXT_DPCM_AUDIO_DMIC_CP]
+	[BXT_DPCM_AUDIO_DMIC_CP] =
 	{
 		.name = "Bxt Audio DMIC cap",
 		.stream_name = "dmiccap",
-- 
2.8.1

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

* Applied "ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array" to the asoc tree
@ 2016-10-24 18:03   ` Mark Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2016-10-24 18:03 UTC (permalink / raw)
  To: Colin Ian King; +Cc: Vinod Koul, Mark Brown, Liam Girdwood

The patch

   ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array

has been applied to the asoc tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From 89c03ddbb9aafe370e7d1ebe07258ae755588bdc Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.king@canonical.com>
Date: Mon, 17 Oct 2016 23:02:56 +0100
Subject: [PATCH] ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for
 array

Smatch reports below warnings:

    bxt_da7219_max98357a.c:352:9: warning: obsolete array initializer,
    use C99 syntax

An earlier commit cleaned up similar warnings, however, a recent
commit 43c02ede76a60de ("ASoC: Intel: Add DMIC channel constraint for
bxt machine") re-introduced the older initializer style. So fix
this warning to make the code consistent.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/intel/boards/bxt_da7219_max98357a.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/intel/boards/bxt_da7219_max98357a.c b/sound/soc/intel/boards/bxt_da7219_max98357a.c
index 865a21e557cc..bff80b467262 100644
--- a/sound/soc/intel/boards/bxt_da7219_max98357a.c
+++ b/sound/soc/intel/boards/bxt_da7219_max98357a.c
@@ -348,7 +348,7 @@ static struct snd_soc_dai_link broxton_dais[] = {
 		.dynamic = 1,
 		.ops = &broxton_refcap_ops,
 	},
-	[BXT_DPCM_AUDIO_DMIC_CP]
+	[BXT_DPCM_AUDIO_DMIC_CP] =
 	{
 		.name = "Bxt Audio DMIC cap",
 		.stream_name = "dmiccap",
-- 
2.8.1

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

end of thread, other threads:[~2016-10-24 18:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-17 22:02 [PATCH] ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array Colin King
2016-10-18 11:16 ` Takashi Sakamoto
2016-10-18 13:56 ` Vinod Koul
2016-10-24 18:03 ` Applied "ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializer for array" to the asoc tree Mark Brown
2016-10-24 18:03   ` Mark Brown

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.