All of lore.kernel.org
 help / color / mirror / Atom feed
From: festevam@gmail.com (Fabio Estevam)
To: cocci@systeme.lip6.fr
Subject: [Cocci] [PATCH 2/4] coccinelle: returnvar: Use imperative mood
Date: Sat,  9 May 2015 16:48:48 -0300	[thread overview]
Message-ID: <1431200930-16961-2-git-send-email-festevam@gmail.com> (raw)
In-Reply-To: <1431200930-16961-1-git-send-email-festevam@gmail.com>

From: Fabio Estevam <fabio.estevam@freescale.com>

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>
---
 scripts/coccinelle/misc/returnvar.cocci | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/coccinelle/misc/returnvar.cocci b/scripts/coccinelle/misc/returnvar.cocci
index 605955a..d8286ef 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.
-- 
1.9.1

  reply	other threads:[~2015-05-09 19:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-09 19:48 [Cocci] [PATCH 1/4] coccinelle: pm_runtime: Insert blank line Fabio Estevam
2015-05-09 19:48 ` Fabio Estevam [this message]
2015-05-09 19:56   ` [Cocci] [PATCH 2/4] coccinelle: returnvar: Use imperative mood Julia Lawall
2015-05-09 19:48 ` [Cocci] [PATCH 3/4] coccinelle: ifaddr: Fix the sentence Fabio Estevam
2015-05-09 19:55   ` Julia Lawall
2015-05-09 19:48 ` [Cocci] [PATCH 4/4] coccinelle: simple_open: Use imperative mood Fabio Estevam
2015-05-09 19:56   ` Julia Lawall
2015-05-09 19:59 ` [Cocci] [PATCH 1/4] coccinelle: pm_runtime: Insert blank line Julia Lawall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1431200930-16961-2-git-send-email-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=cocci@systeme.lip6.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.