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] [day] [month] [year] [list]
Message-ID: <s5hin3cxf9y.wl-tiwai@suse.de>
Date:   Tue, 11 Sep 2018 16:47:05 +0200
From:   Takashi Iwai <tiwai@...e.de>
To:     "Anders Roxell" <anders.roxell@...aro.org>
Cc:     <perex@...ex.cz>, <alsa-devel@...a-project.org>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] ALSA: hda: fix unused variable warning

On Tue, 11 Sep 2018 16:18:36 +0200,
Anders Roxell wrote:
> 
> When CONFIG_X86=n function azx_snoop doesn't use the variable chip it
> only returns true.
> 
> sound/pci/hda/hda_intel.c: In function ‘dma_alloc_pages’:
> sound/pci/hda/hda_intel.c:2002:14: warning: unused variable ‘chip’ [-Wunused-variable]
>   struct azx *chip = bus_to_azx(bus);
>               ^~~~
> 
> Create a inline function of azx_snoop.
> 
> Fixes: a41d122449be ("ALSA: hda - Embed bus into controller object")
> Signed-off-by: Anders Roxell <anders.roxell@...aro.org>

Applied, thanks.


Takashi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ