]> git.karo-electronics.de Git - linux-beck.git/commitdiff
coccinelle: returnvar: Use imperative mood
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 9 May 2015 20:09:28 +0000 (17:09 -0300)
committerMichal Marek <mmarek@suse.cz>
Wed, 20 May 2015 06:01:41 +0000 (14:01 +0800)
According to Documentation/SubmittingPatches:

"Describe your changes in imperative mood, e.g. "make xyzzy do frotz"
instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy
to do frotz", as if you are giving orders to the codebase to change
its behaviour."

So do as recommended.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccinelle/misc/returnvar.cocci

index 605955a91c44937990cdbcf8aaeb76a966ecf7eb..d8286ef5307fcaf7f97302effdcb995698addc89 100644 (file)
@@ -1,5 +1,5 @@
 ///
-/// Removes unneeded variable used to store return value.
+/// Remove unneeded variable used to store return value.
 ///
 // Confidence: Moderate
 // Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6.  GPLv2.