From: Al Viro <viro@ftp.linux.org.uk>
To: Valdis.Kletnieks@vt.edu
Cc: Dave Jones <davej@redhat.com>,
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: Tue, 31 Oct 2006 22:39:06 +0000 [thread overview]
Message-ID: <20061031223906.GR29920@ftp.linux.org.uk> (raw)
In-Reply-To: <200610312126.k9VLQtCB003616@turing-police.cc.vt.edu>
On Tue, Oct 31, 2006 at 04:26:55PM -0500, Valdis.Kletnieks@vt.edu wrote:
> On Tue, 31 Oct 2006 11:51:33 EST, Dave Jones said:
> > On Tue, Oct 31, 2006 at 08:34:23AM -0800, Ray Lee wrote:
> > > 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.
> >
> > git clone git://git.kernel.org/pub/scm/linux/kernel/git/viro/remapper.git
>
> As somebody proves me wrong on the fact it's not easy. Of course, it's
> Al's git tree, which is probably saying something. :)
It is easy, actually. Key observation: unidiff with 0 context lines contains
everything you need to find out which lines survive and where do they move;
just ignore the actual changes in the diff and look at @@... and diff headers.
There are two parts - one takes such diff and generates a fate map for lines
(basically, "this range gets shifted to this place, this range doesn't make it
at all" + file removals + file renames if diff has been generated by git-diff
and contains that information). Another is a very simple filter; it takes
map file as argument, reads it and uses the map to massage lines it reads
from stdin. When we see <affected pathname>:<number> in the beginning of the
line or after a space, see if that line is in surviving range; if it is,
replace pathname and shift line number, otherwise add a prefix ("O:" by
default). That's it. About 10K of sparse C - both filter and map generator.
Two-clause BSD license, so feel free to use it in any way you want.
I don't think there will be serious changes down the road; I'll need to
sit down and turn a description of that puppy into a proper manpage, but
that's about it.
next prev parent reply other threads:[~2006-10-31 22:39 UTC|newest]
Thread overview: 98+ 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 [this message]
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
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 19:56 ` Adrian Bunk
2006-10-31 20:11 ` Greg KH
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: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
2006-11-03 2:41 ` Linux 2.6.19-rc4: known unfixed regressions (v2) Adrian Bunk
2006-11-03 2:56 ` [discuss] " 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 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
2006-11-05 6:48 ` 2.6.19-rc4: known unfixed regressions (v3) Adrian Bunk
2006-11-05 6:48 ` Adrian Bunk
2006-11-05 9:30 ` Jeff Chua
2006-11-05 9:30 ` Jeff Chua
2006-11-06 17:47 ` [discuss] " Andi Kleen
2006-11-06 17:47 ` Andi Kleen
2006-11-05 13:26 ` Michael S. Tsirkin
2006-11-05 13:26 ` 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-07 2:17 ` Ernst Herzberg
2006-11-07 2:17 ` Ernst Herzberg
2006-11-07 2:17 ` Ernst Herzberg
2006-11-07 5:41 ` Len Brown
2006-11-07 5:41 ` Len Brown
2006-11-07 20:05 ` Ernst Herzberg
2006-11-07 20:05 ` Ernst Herzberg
2006-11-08 8:36 ` [linux-pm] " Adrian Bunk
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
2006-11-07 13:30 ` 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=20061031223906.GR29920@ftp.linux.org.uk \
--to=viro@ftp.linux.org.uk \
--cc=Valdis.Kletnieks@vt.edu \
--cc=akpm@osdl.org \
--cc=davej@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.