summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-05-09 17:09:28 -0300
committerMichal Marek <mmarek@suse.cz>2015-05-20 14:01:41 +0800
commitfe8c46b632505a880c527bc9ae246e868aa3ece5 (patch)
tree3ac1280432c8c0f195a8f225017cf6a623dd691c /scripts/coccinelle
parentf9beafc9d8bf7febf673df9b41e13596ca669f75 (diff)
downloadtalos-obmc-linux-fe8c46b632505a880c527bc9ae246e868aa3ece5.tar.gz
talos-obmc-linux-fe8c46b632505a880c527bc9ae246e868aa3ece5.zip
coccinelle: returnvar: Use imperative mood
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>
Diffstat (limited to 'scripts/coccinelle')
-rw-r--r--scripts/coccinelle/misc/returnvar.cocci2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/coccinelle/misc/returnvar.cocci b/scripts/coccinelle/misc/returnvar.cocci
index 605955a91c44..d8286ef5307f 100644
--- a/scripts/coccinelle/misc/returnvar.cocci
+++ b/scripts/coccinelle/misc/returnvar.cocci
@@ -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.
OpenPOWER on IntegriCloud