From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mason Subject: Re: [GIT PULL] Btrfs fixes and features Date: Fri, 30 Mar 2012 16:04:47 -0400 Message-ID: <20120330200447.GL755@shiny> References: <20120330175106.GB755@shiny> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: linux-btrfs , LKML To: Linus Torvalds Return-path: In-Reply-To: List-ID: On Fri, Mar 30, 2012 at 12:54:03PM -0700, Linus Torvalds wrote: > On Fri, Mar 30, 2012 at 12:50 PM, Linus Torvalds > wrote: > > > > This causes a new warning for me: > > > > =C2=A0fs/btrfs/extent_io.c: In function =E2=80=98repair_eb_io_failu= re=E2=80=99: > > =C2=A0fs/btrfs/extent_io.c:1940:6: warning: =E2=80=98ret=E2=80=99 m= ay be used > > uninitialized in this function > > > > Hmm? >=20 > Ok, so presumably num_pages (which is "num_extent_pages(eb->start, > eb->len)") cannot be zero, so I guess the code is ok. But gcc can't > know that, and it's an annoying warning. Whoops, my reply was too slow, sorry. If you're curious my gcc that doesn't warn in 4.6.3. >=20 > So please fix, but it's not urgent. In the meantime I've pulled and p= ushed out. Ok, I'll send just the incremental in a later pull. -chris