Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751257AbWEAVHo (ORCPT ); Mon, 1 May 2006 17:07:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750945AbWEAVHo (ORCPT ); Mon, 1 May 2006 17:07:44 -0400 Received: from nproxy.gmail.com ([64.233.182.191]:5745 "EHLO nproxy.gmail.com") by vger.kernel.org with ESMTP id S1751255AbWEAVHn (ORCPT ); Mon, 1 May 2006 17:07:43 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=a1XDpY2+rLc2VY4WX1KY8VBvDH8inDfyS97vc9DlsjHNfuA7A54iXW/HCDhDbpkdBdVX3sXKoW44r+IrwtbacL4lcFAlnAwfyRfpm5ldc6UlvXu9XCkv3SE4dv6wsRVMF6wWmJ2I/ie/ivwiMdYigU0hy0g90OekQeH43pKuCDs= Date: Tue, 2 May 2006 01:05:46 +0400 From: Alexey Dobriyan To: "Petri T. Koistinen" Cc: Andrew Morton , trivial@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fs/bio.c: initialize variable, remove warning Message-ID: <20060501210546.GB7170@mipter.zuzino.mipt.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 602 Lines: 19 On Mon, May 01, 2006 at 11:55:27PM +0300, Petri T. Koistinen wrote: > Remove compiler warning by initializing uninitialized variable. > --- a/fs/bio.c > +++ b/fs/bio.c > @@ -166,7 +166,7 @@ struct bio *bio_alloc_bioset(gfp_t gfp_m > > bio_init(bio); > if (likely(nr_iovecs)) { > - unsigned long idx; > + unsigned long idx = 0; oh no not again! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/