lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090502013433.GQ8633@ZenIV.linux.org.uk>
Date:	Sat, 2 May 2009 02:34:34 +0100
From:	Al Viro <viro@...IV.linux.org.uk>
To:	monstr@...str.eu
Cc:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Subject: Bullshit commit messages (Re: [PATCH] fs: Remove sparse errors in
	bio.c)

On Fri, May 01, 2009 at 04:33:22PM +0200, monstr@...str.eu wrote:
> From: Michal Simek <monstr@...str.eu>
> 
> 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] <asn:1>*
> fs/bio.c:724:36: warning: incorrect type in argument 2 (different address spaces)
> fs/bio.c:724:36:    expected void const [noderef] <asn:1>*from
> fs/bio.c:724:36:    got char *iov_addr
> 
> Signed-off-by: Michal Simek <monstr@...str.eu>

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ