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:	Mon, 29 Oct 2007 09:06:24 +0100
From:	Takashi Iwai <tiwai@...e.de>
To:	"Adrian McMenamin" <lkmladrian@...il.com>
Cc:	alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
	linuxsh-dev@...ts.sourceforge.net
Subject: Re: [alsa-devel] [PATCH] Dreamcast AICA sound - Get rid of annoying	compiler warning

At Sun, 28 Oct 2007 14:27:04 +0000,
Adrian McMenamin wrote:
> 
> This patch supresses an annoying compiler warning that the variable
> err may be used uninitialised.
> 
> Signed-off by: Adrian McMenamin <adrian@...en.demon.co.uk>

Applied to ALSA tree now.

Thanks,

Takashi

> 
> 
> diff --git a/sound/sh/aica.c b/sound/sh/aica.c
> index 88dc840..8861d2f 100644
> --- a/sound/sh/aica.c
> +++ b/sound/sh/aica.c
> @@ -237,6 +237,7 @@ static int aica_dma_transfer(int channels, int buffer_size,
>  	struct snd_card_aica *dreamcastcard;
>  	struct snd_pcm_runtime *runtime;
>  	unsigned long flags;
> +	err = 0;
>  	dreamcastcard = substream->pcm->private_data;
>  	period_offset = dreamcastcard->clicks;
>  	period_offset %= (AICA_PERIOD_NUMBER / channels);
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@...a-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ