From: Willy Tarreau <w@1wt.eu>
To: Valdis.Kletnieks@vt.edu
Cc: ray-gmail@madrabbit.org, "Martin J. Bligh" <mbligh@google.com>,
Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"Jun'ichi Nomura" <j-nomura@ce.jp.nec.com>
Subject: Re: Linux 2.6.19-rc4
Date: Wed, 1 Nov 2006 07:33:40 +0100 [thread overview]
Message-ID: <20061101063340.GA543@1wt.eu> (raw)
In-Reply-To: <200610312053.k9VKr0Fm007201@turing-police.cc.vt.edu>
On Tue, Oct 31, 2006 at 03:53:00PM -0500, Valdis.Kletnieks@vt.edu wrote:
> On Tue, 31 Oct 2006 08:34:23 PST, Ray Lee said:
> > On 10/31/06, Martin J. Bligh <mbligh@google.com> wrote:
> > > > At some point we should get rid of all the "politeness" warnings, just
> > > > because they can end up hiding the _real_ ones.
> > >
> > > Yay! Couldn't agree more. Does this mean you'll take patches for all the
> > > uninitialized variable crap from gcc 4.x ?
> >
> > What would be useful in the short term is a tool that shows only the
> > new warnings that didn't exist in the last point release.
>
> Harder to do than you might think - it has to deal with the fact that
> 2.6.N might have a warning about 'used unintialized on line 430', and
> in 2.6.N+1 you get two warnings, one on line 420 and one on 440. Which
> one is new and which one just moved 10 lines up or down? Or did a patch
> fix the one on 430 and add 2 new ones?
Not necessarily harder. On a related topic, I maintain an own tree with
about 60-100 patches, added to about as much for the glue to resolve
conflicts. When I apply them in sequence, I get lots of rejects and
fuzzy matches. Initially, it was very hard to know which ones were
expected (and solved) and which ones were new. So I archived the stderr
of the "patch" command in a file named "apply.log". It just show the
patch name and its output if any. Now, when I make a new version, I don't
worry about the warnings or errors, I just diff the new result with the
previous one and quickly detect the patches which conflicts, or even
subtle changes such as fuzzy matches, or "2 hunks failed" instead of
"1 hunk failed".
Since diff's algorithm is very efficient at resynchronizing, you most
often detect only a few changes. From experience, the fact that some
warnings change from line 420 to 440 is very easy to process because
at a glance because you quickly detect that the line is not far away
from the old one, and the warning is exactly the same. So you don't
worry. When you have a doubt, you simply check the code.
The only situation I can imagine which would cause large amounts of
warnings is the ones caused by includes which will propagate to
all files.
I've not tried Al's remapper, but considering how he hates useless
warnings and hidden bugs, I can imagine he has attacked the problem
on the right side ;-)
Regards,
Willy
next prev parent reply other threads:[~2006-11-01 5:33 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-31 4:27 Linux 2.6.19-rc4 Linus Torvalds
2006-10-31 5:34 ` Andrew Morton
2006-10-31 14:43 ` Jun'ichi Nomura
2006-10-31 16:44 ` Linux 2.6.19-rc4: udev compatibility broken? Mark Lord
2006-10-31 15:55 ` Linux 2.6.19-rc4 Linus Torvalds
2006-10-31 16:14 ` Martin J. Bligh
2006-10-31 16:34 ` Ray Lee
2006-10-31 16:51 ` Dave Jones
2006-10-31 21:26 ` Valdis.Kletnieks
2006-10-31 22:39 ` Al Viro
2006-11-02 16:03 ` Valdis.Kletnieks
2006-10-31 20:53 ` Valdis.Kletnieks
2006-10-31 21:29 ` Al Viro
2006-11-01 6:33 ` Willy Tarreau [this message]
2006-11-01 20:26 ` Guennadi Liakhovetski
2006-11-01 21:04 ` Sam Ravnborg
2006-11-02 21:19 ` Guennadi Liakhovetski
2006-10-31 18:33 ` Adrian Bunk
2006-10-31 18:36 ` Martin Bligh
2006-10-31 18:54 ` Adrian Bunk
2006-10-31 18:45 ` Adrian Bunk
2006-10-31 19:26 ` Russell King
2006-10-31 19:39 ` Martin Bligh
2006-10-31 17:02 ` CONFIG_USB_USBNET and mii_* (was Re: Linux 2.6.19-rc4) Athanasius
2006-10-31 17:11 ` Randy Dunlap
2006-10-31 19:56 ` 2.6.19-rc4: known unfixed regressions Adrian Bunk
2006-10-31 20:11 ` Greg KH
2006-11-04 3:15 ` Adrian Bunk
2006-10-31 20:12 ` Arjan van de Ven
2006-10-31 20:21 ` Adrian Bunk
2006-11-02 20:02 ` Rafael J. Wysocki
2006-11-02 20:10 ` Andrew Morton
2006-11-02 21:22 ` Auke Kok
2006-11-02 21:55 ` Alan Cox
2006-11-02 20:54 ` Linus Torvalds
2006-11-02 21:29 ` Greg KH
2006-11-02 21:26 ` Adrian Bunk
2006-11-02 21:40 ` Rafael J. Wysocki
2006-10-31 20:08 ` 2.6.19-rc4: known regressions with patches Adrian Bunk
[not found] ` <20061103024132.GG13381@stusta.de>
2006-11-03 2:56 ` [discuss] Linux 2.6.19-rc4: known unfixed regressions (v2) Dave Jones
2006-11-03 8:25 ` Alexey Starikovskiy
2006-11-03 15:56 ` Dave Jones
2006-11-05 17:32 ` Christian
2006-11-05 20:04 ` Dave Jones
2006-11-06 17:35 ` Adrian Bunk
2006-11-06 17:49 ` Dave Jones
2006-11-06 6:00 ` Adrian Bunk
2006-11-06 15:43 ` Christian
2006-11-06 17:20 ` Dave Jones
2006-11-06 17:30 ` Adrian Bunk
2006-11-06 17:37 ` Adrian Bunk
2006-11-04 18:21 ` [linux-usb-devel] " Greg KH
[not found] ` <20061105064801.GV13381@stusta.de>
2006-11-05 13:26 ` 2.6.19-rc4: known unfixed regressions (v3) Michael S. Tsirkin
2006-11-05 13:57 ` Adrian Bunk
2006-11-05 15:17 ` Eric W. Biederman
2006-11-07 4:22 ` Adrian Bunk
2006-11-07 5:18 ` Bryan O'Sullivan
2006-11-07 8:50 ` Eric W. Biederman
2006-11-07 16:19 ` Bryan O'Sullivan
2006-11-07 17:33 ` Eric W. Biederman
2006-11-07 17:37 ` Dave Olson
2006-11-07 18:20 ` Eric W. Biederman
2006-11-07 20:30 ` Dave Olson
2006-11-07 20:51 ` Eric W. Biederman
2006-11-07 21:01 ` Dave Olson
2006-11-07 21:35 ` Eric W. Biederman
2006-11-07 21:41 ` Dave Olson
2006-11-07 22:25 ` Eric W. Biederman
2006-11-07 18:01 ` Bryan O'Sullivan
2006-11-07 18:29 ` Eric W. Biederman
2006-11-07 21:32 ` Bryan O'Sullivan
2006-11-07 22:00 ` Eric W. Biederman
2006-11-08 5:14 ` Bryan O'Sullivan
2006-11-08 11:11 ` Eric W. Biederman
2006-11-05 15:22 ` Eric W. Biederman
2006-11-06 12:48 ` 2.6.19-rc4: known regressions with patches (v2) Adrian Bunk
2006-11-07 13:30 ` 2.6.19-rc4: known unfixed regressions (v4) Adrian Bunk
[not found] ` <200611070317.42230.earny@net4u.de>
[not found] ` <200611070041.28008.len.brown@intel.com>
[not found] ` <200611072105.50178.earny@net4u.de>
2006-11-08 8:36 ` [linux-pm] 2.6.19-rc4: known unfixed regressions (v3) Adrian Bunk
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=20061101063340.GA543@1wt.eu \
--to=w@1wt.eu \
--cc=Valdis.Kletnieks@vt.edu \
--cc=akpm@osdl.org \
--cc=j-nomura@ce.jp.nec.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@google.com \
--cc=ray-gmail@madrabbit.org \
--cc=torvalds@osdl.org \
/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