All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] ASoC: amd: fixed kernel warnings
  2020-07-07 18:37 ` Vijendar Mukunda
@ 2020-07-07 18:28   ` Randy Dunlap
  -1 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2020-07-07 18:28 UTC (permalink / raw)
  To: Vijendar Mukunda, alsa-devel
  Cc: perex, Alexander.Deucher, Liam Girdwood, Mark Brown,
	Takashi Iwai, Pierre-Louis Bossart, open list

On 7/7/20 11:37 AM, Vijendar Mukunda wrote:
> This patch will fix unused variables kernel warnings when
> CONFIG_ACPI is disabled.
> 
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested

Thanks.

> ---
>  sound/soc/amd/renoir/rn-pci-acp3x.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/sound/soc/amd/renoir/rn-pci-acp3x.c b/sound/soc/amd/renoir/rn-pci-acp3x.c
> index 165c93f..b943e59 100644
> --- a/sound/soc/amd/renoir/rn-pci-acp3x.c
> +++ b/sound/soc/amd/renoir/rn-pci-acp3x.c
> @@ -168,8 +168,10 @@ static int snd_rn_acp_probe(struct pci_dev *pci,
>  {
>  	struct acp_dev_data *adata;
>  	struct platform_device_info pdevinfo[ACP_DEVS];
> +#if defined(CONFIG_ACPI)
>  	acpi_handle handle;
>  	acpi_integer dmic_status;
> +#endif
>  	unsigned int irqflags;
>  	int ret, index;
>  	u32 addr;
> 


-- 
~Randy

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

* Re: [PATCH] ASoC: amd: fixed kernel warnings
@ 2020-07-07 18:28   ` Randy Dunlap
  0 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2020-07-07 18:28 UTC (permalink / raw)
  To: Vijendar Mukunda, alsa-devel
  Cc: Liam Girdwood, open list, Pierre-Louis Bossart, Takashi Iwai,
	Mark Brown, Alexander.Deucher

On 7/7/20 11:37 AM, Vijendar Mukunda wrote:
> This patch will fix unused variables kernel warnings when
> CONFIG_ACPI is disabled.
> 
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested

Thanks.

> ---
>  sound/soc/amd/renoir/rn-pci-acp3x.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/sound/soc/amd/renoir/rn-pci-acp3x.c b/sound/soc/amd/renoir/rn-pci-acp3x.c
> index 165c93f..b943e59 100644
> --- a/sound/soc/amd/renoir/rn-pci-acp3x.c
> +++ b/sound/soc/amd/renoir/rn-pci-acp3x.c
> @@ -168,8 +168,10 @@ static int snd_rn_acp_probe(struct pci_dev *pci,
>  {
>  	struct acp_dev_data *adata;
>  	struct platform_device_info pdevinfo[ACP_DEVS];
> +#if defined(CONFIG_ACPI)
>  	acpi_handle handle;
>  	acpi_integer dmic_status;
> +#endif
>  	unsigned int irqflags;
>  	int ret, index;
>  	u32 addr;
> 


-- 
~Randy

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

* [PATCH] ASoC: amd: fixed kernel warnings
@ 2020-07-07 18:37 ` Vijendar Mukunda
  0 siblings, 0 replies; 6+ messages in thread
From: Vijendar Mukunda @ 2020-07-07 18:37 UTC (permalink / raw)
  To: alsa-devel
  Cc: rdunlap, perex, Alexander.Deucher, Vijendar Mukunda,
	Liam Girdwood, Mark Brown, Takashi Iwai, Pierre-Louis Bossart,
	open list

This patch will fix unused variables kernel warnings when
CONFIG_ACPI is disabled.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
---
 sound/soc/amd/renoir/rn-pci-acp3x.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/amd/renoir/rn-pci-acp3x.c b/sound/soc/amd/renoir/rn-pci-acp3x.c
index 165c93f..b943e59 100644
--- a/sound/soc/amd/renoir/rn-pci-acp3x.c
+++ b/sound/soc/amd/renoir/rn-pci-acp3x.c
@@ -168,8 +168,10 @@ static int snd_rn_acp_probe(struct pci_dev *pci,
 {
 	struct acp_dev_data *adata;
 	struct platform_device_info pdevinfo[ACP_DEVS];
+#if defined(CONFIG_ACPI)
 	acpi_handle handle;
 	acpi_integer dmic_status;
+#endif
 	unsigned int irqflags;
 	int ret, index;
 	u32 addr;
-- 
2.7.4


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

* [PATCH] ASoC: amd: fixed kernel warnings
@ 2020-07-07 18:37 ` Vijendar Mukunda
  0 siblings, 0 replies; 6+ messages in thread
From: Vijendar Mukunda @ 2020-07-07 18:37 UTC (permalink / raw)
  To: alsa-devel
  Cc: Pierre-Louis Bossart, open list, rdunlap, Liam Girdwood,
	Mark Brown, Vijendar Mukunda, Alexander.Deucher, Takashi Iwai

This patch will fix unused variables kernel warnings when
CONFIG_ACPI is disabled.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
---
 sound/soc/amd/renoir/rn-pci-acp3x.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/amd/renoir/rn-pci-acp3x.c b/sound/soc/amd/renoir/rn-pci-acp3x.c
index 165c93f..b943e59 100644
--- a/sound/soc/amd/renoir/rn-pci-acp3x.c
+++ b/sound/soc/amd/renoir/rn-pci-acp3x.c
@@ -168,8 +168,10 @@ static int snd_rn_acp_probe(struct pci_dev *pci,
 {
 	struct acp_dev_data *adata;
 	struct platform_device_info pdevinfo[ACP_DEVS];
+#if defined(CONFIG_ACPI)
 	acpi_handle handle;
 	acpi_integer dmic_status;
+#endif
 	unsigned int irqflags;
 	int ret, index;
 	u32 addr;
-- 
2.7.4


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

* Re: [PATCH] ASoC: amd: fixed kernel warnings
  2020-07-07 18:37 ` Vijendar Mukunda
@ 2020-07-08 17:00   ` Mark Brown
  -1 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2020-07-08 17:00 UTC (permalink / raw)
  To: alsa-devel, Vijendar Mukunda
  Cc: Takashi Iwai, open list, rdunlap, Alexander.Deucher,
	Liam Girdwood, Pierre-Louis Bossart

On Wed, 8 Jul 2020 00:07:11 +0530, Vijendar Mukunda wrote:
> This patch will fix unused variables kernel warnings when
> CONFIG_ACPI is disabled.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: amd: fixed kernel warnings
      commit: ee3d133972f1e5d260891c4dd58adb005014414a

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

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

* Re: [PATCH] ASoC: amd: fixed kernel warnings
@ 2020-07-08 17:00   ` Mark Brown
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2020-07-08 17:00 UTC (permalink / raw)
  To: alsa-devel, Vijendar Mukunda
  Cc: open list, rdunlap, Liam Girdwood, Pierre-Louis Bossart,
	Alexander.Deucher, Takashi Iwai

On Wed, 8 Jul 2020 00:07:11 +0530, Vijendar Mukunda wrote:
> This patch will fix unused variables kernel warnings when
> CONFIG_ACPI is disabled.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: amd: fixed kernel warnings
      commit: ee3d133972f1e5d260891c4dd58adb005014414a

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

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

end of thread, other threads:[~2020-07-08 17:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 18:37 [PATCH] ASoC: amd: fixed kernel warnings Vijendar Mukunda
2020-07-07 18:37 ` Vijendar Mukunda
2020-07-07 18:28 ` Randy Dunlap
2020-07-07 18:28   ` Randy Dunlap
2020-07-08 17:00 ` Mark Brown
2020-07-08 17:00   ` 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.