On Mon, May 05, 2008 at 10:19:06PM +0200, Ingo Molnar wrote:
I could have announced this patch as "fixes two sparse warnings"
(which is true and seems to even make Linus bypass maintainers for
applying patches for similar patches I've seen from other people).
Fact is that I only very rarely use sparse, do the things from different
perspectives, and only the result often happens to overlap with what
sparse does.
If the labeling is what makes you say "benefit is arguably extremely
low" I can put more emphasize on which of my patches also fix sparse
warnings.
Who are these "other kernel developers"?
- "make namespacecheck"
- "make export_report"
- the -Wmissing-prototypes gcc flag
The latter is what I actually started with many years ago (that might
even predate sparse), and we are slowly getting nearer to being able to
enable it in the kernel (also thanks to sparse now emitting warnings
for the same things).
And it might even be the automation you are looking for.
Not exactly allyesconfig since my compile tests predate the
introduction of the *config targets in 2.5, but my standard
.config's are roughly identical to allmodconfig and allyesconfig.
I grep the sources and check in git what happened and what to do
(this sometimes finds some real bugs).
I edit the file(s).
Then I do:
cg-commit < /dev/null; git-show --pretty=oneline > /tmp/patch-static-sched
Write the email with mutt+nano.
Store the email in my postponed-msgs folder.
Give a batch of patches some compile testing and check the output
(e.g. removing some code might make gcc complain about now unused
static code).
You can implement whatever you want to implement.
If that results in me sending less patches that's not a problem for me.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--