From: Linus Torvalds <torvalds@linux-foundation.org>
To: Michal Marek <mmarek@suse.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
mussitantesmortem@gmail.com, nicolas.ferre@atmel.com,
Nicolas Pitre <nicolas.pitre@linaro.org>,
robert.jarzmik@free.fr, yamada.masahiro@socionext.com,
Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [GIT PULL] kbuild updates for v4.7-rc1
Date: Thu, 26 May 2016 22:26:50 -0700 [thread overview]
Message-ID: <CA+55aFzQxws_ipKZhV9cFrJdV8CvKy=m9AxGe5cjM=FYceNbZQ@mail.gmail.com> (raw)
In-Reply-To: <20160526203346.GA4734@pobox.suse.cz>
On Thu, May 26, 2016 at 1:33 PM, Michal Marek <mmarek@suse.com> wrote:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git kbuild
This pull results in new warnings.
I get new "may be uninitialized" warnings now for me allmodconfig
build, and while I didn't look at them all, the one I looked at was
just entirely crap:
fs/gfs2/dir.c: In function ‘dir_split_leaf.isra.16’:
fs/gfs2/dir.c:1021:8: warning: ‘leaf_no’ may be used uninitialized
in this function [-Wmaybe-uninitialized]
error = get_leaf(dip, leaf_no, &obh);
^
yeah no, leaf_no is initialized a few lines up by
error = get_leaf_nr(dip, index, &leaf_no);
and the fact that gcc can't follow the trivial error handling is not
our fault. It looks *so* trivial that I wonder why.
That said, I don't see exactly what in the pull request causes this.
My reading of the diff seems to say that you are actually adding
*more* cases of -Wno-maybe-uninitialized, not less.
So I suspect it's almost accidental in just how the Kconfig option
CC_OPTIMIZE_FOR_PERFORMANCE happened, which in turn probably just
changes the options for "make allmiodconfig", and it now picks a
non-size-optimized build that always showed those warnings and I just
didn't see them.
Annoying. I've pulled it, but I wish you would look at this.
Linus
next prev parent reply other threads:[~2016-05-27 5:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-26 20:33 [GIT PULL] kbuild updates for v4.7-rc1 Michal Marek
2016-05-27 5:26 ` Linus Torvalds [this message]
2016-05-27 12:33 ` Arnd Bergmann
2016-05-27 17:23 ` Linus Torvalds
2016-05-27 18:28 ` Linus Torvalds
2016-05-27 20:04 ` Arnd Bergmann
2016-05-27 20:20 ` Linus Torvalds
2016-05-27 21:36 ` Arnd Bergmann
2016-05-27 21:52 ` Al Viro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+55aFzQxws_ipKZhV9cFrJdV8CvKy=m9AxGe5cjM=FYceNbZQ@mail.gmail.com' \
--to=torvalds@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.com \
--cc=mussitantesmortem@gmail.com \
--cc=nicolas.ferre@atmel.com \
--cc=nicolas.pitre@linaro.org \
--cc=robert.jarzmik@free.fr \
--cc=yamada.masahiro@socionext.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).