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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 05 Aug 2011 12:52:36 +0200
From:	Takashi Iwai <tiwai@...e.de>
To:	stufever@...il.com
Cc:	linux-kernel@...r.kernel.org,
	Wang Shaoyan <wangshaoyan.pt@...bao.com>
Subject: Re: [PATCH] ALSA: hda - Fix a complile warning in patch_via.c

At Fri,  5 Aug 2011 18:51:29 +0800,
stufever@...il.com wrote:
> 
> From: Wang Shaoyan <wangshaoyan.pt@...bao.com>
> 
>   sound/pci/hda/patch_via.c:2087: warning: 'dac' may be used uninitialized in this function
> 
> Signed-off-by: Wang Shaoyan <wangshaoyan.pt@...bao.com>

Thanks, applied now.


Takashi

> ---
>  sound/pci/hda/patch_via.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
> index 84d8798..4ebfbd8 100644
> --- a/sound/pci/hda/patch_via.c
> +++ b/sound/pci/hda/patch_via.c
> @@ -2084,7 +2084,7 @@ static int via_auto_create_speaker_ctls(struct hda_codec *codec)
>  	struct via_spec *spec = codec->spec;
>  	struct nid_path *path;
>  	bool check_dac;
> -	hda_nid_t pin, dac;
> +	hda_nid_t pin, dac = 0;
>  	int err;
>  
>  	pin = spec->autocfg.speaker_pins[0];
> -- 
> 1.7.4.1
> 
--
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