lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 7 Jul 2020 11:28:10 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Vijendar Mukunda <Vijendar.Mukunda@....com>,
        alsa-devel@...a-project.org
Cc:     perex@...ex.cz, Alexander.Deucher@....com,
        Liam Girdwood <lgirdwood@...il.com>,
        Mark Brown <broonie@...nel.org>, Takashi Iwai <tiwai@...e.com>,
        Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
        open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ASoC: amd: fixed kernel warnings

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@...radead.org>
> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@....com>

Acked-by: Randy Dunlap <rdunlap@...radead.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ