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]
Date:   Sat, 12 Nov 2016 10:18:14 +0100
From:   Takashi Iwai <tiwai@...e.de>
To:     Fabian Frederick <fabf@...net.be>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1 linux-next] ALSA: opl3: don't opencode IS_REACHABLE()

On Sat, 12 Nov 2016 09:28:33 +0100,
Fabian Frederick wrote:
> 
> Signed-off-by: Fabian Frederick <fabf@...net.be>

Applied, thanks.


Takashi

> ---
>  sound/drivers/opl3/opl3_lib.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/drivers/opl3/opl3_lib.c b/sound/drivers/opl3/opl3_lib.c
> index 369cef2..cd9e9f3 100644
> --- a/sound/drivers/opl3/opl3_lib.c
> +++ b/sound/drivers/opl3/opl3_lib.c
> @@ -528,7 +528,7 @@ int snd_opl3_hwdep_new(struct snd_opl3 * opl3,
>  
>  	opl3->hwdep = hw;
>  	opl3->seq_dev_num = seq_device;
> -#if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE))
> +#if IS_REACHABLE(CONFIG_SND_SEQUENCER)
>  	if (snd_seq_device_new(card, seq_device, SNDRV_SEQ_DEV_ID_OPL3,
>  			       sizeof(struct snd_opl3 *), &opl3->seq_dev) >= 0) {
>  		strcpy(opl3->seq_dev->name, hw->name);
> -- 
> 2.7.4
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ