lkml.org 
[lkml]   [2012]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [GIT PULL] Btrfs fixes and features
On Fri, Mar 30, 2012 at 12:50 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> This causes a new warning for me:
>
>  fs/btrfs/extent_io.c: In function ‘repair_eb_io_failure’:
>  fs/btrfs/extent_io.c:1940:6: warning: ‘ret’ may be used
> uninitialized in this function
>
> Hmm?

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.

So please fix, but it's not urgent. In the meantime I've pulled and pushed out.

Linus
--
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/

\
 
 \ /
  Last update: 2012-03-30 21:57    [W:0.052 / U:6.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site