Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Al Viro <viro <at> ZenIV.linux.org.uk>
Subject: Bullshit commit messages (Re: [PATCH] fs: Remove sparse errors in bio.c)
Newsgroups: gmane.linux.kernel
Date: Saturday 2nd May 2009 01:34:34 UTC (over 7 years ago)
On Fri, May 01, 2009 at 04:33:22PM +0200, [email protected] wrote:
> From: Michal Simek 
> 
> fs/bio.c:720:13: warning: incorrect type in assignment (different address
spaces)
> fs/bio.c:720:13:    expected char *iov_addr
> fs/bio.c:720:13:    got void [noderef] *
> fs/bio.c:724:36: warning: incorrect type in argument 2 (different address
spaces)
> fs/bio.c:724:36:    expected void const [noderef] *from
> fs/bio.c:724:36:    got char *iov_addr
> 
> Signed-off-by: Michal Simek 

I'm sorry, but I've had it.  Resend with sane commit message and don't do
that
kind of crap again; I'm beyond being sick and tired of mail with subjects
that
say nothing about what's going on, not to mention flat-out untruth in
attempt
to make them look more impressive (for crying out loud, you couldn't even
have
reported what kind of message does the tool generate, let alone being more
specific than "warning").

Folks, that's got to end.  I've pondered replying to the previous one like
that from the same source (what with having sent a reply to yet another
such submission saying "don't do that" just before), but this one is over
the top.  And this kind of thing is getting more and more common.  For
a while it used to be about "checkpatch errors", but it seems to be
spreading.

I'm sorry if that'll drive somebody to whinging about unkindness to
newbies.
However, I really believe that this needs to be said plainly:

	* Thou Shalt Not Forget The Tail Of Boy Who Cried "Wolf".  Don't
pass warnings for errors and don't hide the information about the kind
of warning in the mail itself.

	* Tools Are Not Deities To Be Appeased.  Subject saying in effect
"$TOOL is upset!!!" is bloody useless.

	* Thy Mail Will Be Triaged.  Live with it.  Volume on l-k is huge
and the best strategy is to get mail recognized as relevant and to have
reviewers' estimate of priority before looking into the thing more or less
close to that after.  We all have heuristics; defeat these too often and
you will *become* one.

	* Thou Shalt Give Relevant Information In Subject.  Is that patch
correcting a misannotation?  Is it fixing a bug?  What kind of ...?

	* If Thou Hast No Better Message Than Quoted Warning, Thou Hast
No Message At All.  Either we are getting the $TOOL to STFU (in which
case you should've said so in the subject), or everything is really,
really obvious from the (short) patch itself, *OR* you are making a
change that ought to have an understandable goal.  In which case you
should put _that_ into commit message, not the $TOOL output.  Tools are
just that; tools, not oracles.  "This patch removes these warnings from
$TOOL" is neither a good explanation of what's going on nor, per se,
a good reason to apply the patch.


	In case of this patch, you have a __user misannotation in bio.c
and patch fixes that misannotation.  Correctly.  In case of proc/devtree
patch you've got NULL noise from sparse and said noise has been kinda-sorta
removed.  And I'd argue that blind replacement of if (p == 0) with
if (p == NULL) is the wrong thing to do; in particular, in these cases
if (!p) would be more idiomatic, but that's really up to Alexey.
 
CD: 2ms