* [Cocci] [PATCH v2 1/4] coccinelle: pm_runtime: Insert blank line
@ 2015-05-09 20:09 Fabio Estevam
2015-05-09 20:09 ` [Cocci] [PATCH v2 2/4] coccinelle: returnvar: Use imperative mood Fabio Estevam
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Fabio Estevam @ 2015-05-09 20:09 UTC (permalink / raw)
To: cocci
From: Fabio Estevam <fabio.estevam@freescale.com>
Insert a blank line in order to improve the readability of the
generated patch and also make it consistent with the other
.cocci files.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v1:
- Replace // with /// as suggested by Julia
scripts/coccinelle/api/pm_runtime.cocci | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/coccinelle/api/pm_runtime.cocci b/scripts/coccinelle/api/pm_runtime.cocci
index f01789e..b7042d0 100644
--- a/scripts/coccinelle/api/pm_runtime.cocci
+++ b/scripts/coccinelle/api/pm_runtime.cocci
@@ -1,5 +1,5 @@
/// Make sure pm_runtime_* calls does not use unnecessary IS_ERR_VALUE
-//
+///
// Keywords: pm_runtime
// Confidence: Medium
// Copyright (C) 2013 Texas Instruments Incorporated - GPLv2.
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* [Cocci] [PATCH v2 2/4] coccinelle: returnvar: Use imperative mood
2015-05-09 20:09 [Cocci] [PATCH v2 1/4] coccinelle: pm_runtime: Insert blank line Fabio Estevam
@ 2015-05-09 20:09 ` Fabio Estevam
2015-05-09 20:09 ` [Cocci] [PATCH v2 3/4] coccinelle: ifaddr: Fix the sentence Fabio Estevam
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2015-05-09 20:09 UTC (permalink / raw)
To: cocci
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>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
---
Changes since v1:
- None
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
^ permalink raw reply related [flat|nested] 6+ messages in thread* [Cocci] [PATCH v2 3/4] coccinelle: ifaddr: Fix the sentence
2015-05-09 20:09 [Cocci] [PATCH v2 1/4] coccinelle: pm_runtime: Insert blank line Fabio Estevam
2015-05-09 20:09 ` [Cocci] [PATCH v2 2/4] coccinelle: returnvar: Use imperative mood Fabio Estevam
@ 2015-05-09 20:09 ` Fabio Estevam
2015-05-09 20:09 ` [Cocci] [PATCH v2 4/4] coccinelle: simple_open: Use imperative mood Fabio Estevam
2015-05-09 20:15 ` [Cocci] [PATCH v2 1/4] coccinelle: pm_runtime: Insert blank line Julia Lawall
3 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2015-05-09 20:09 UTC (permalink / raw)
To: cocci
From: Fabio Estevam <fabio.estevam@freescale.com>
Make the sentence sensible.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
---
Changes since v1:
- None
scripts/coccinelle/misc/ifaddr.cocci | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/scripts/coccinelle/misc/ifaddr.cocci b/scripts/coccinelle/misc/ifaddr.cocci
index 8aebd18..c2663c6 100644
--- a/scripts/coccinelle/misc/ifaddr.cocci
+++ b/scripts/coccinelle/misc/ifaddr.cocci
@@ -1,5 +1,4 @@
-/// the address of a variable or field is non-zero is likely always to bo
-/// non-zero
+/// The address of a variable or field is likely always to be non-zero.
///
// Confidence: High
// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2.
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Cocci] [PATCH v2 4/4] coccinelle: simple_open: Use imperative mood
2015-05-09 20:09 [Cocci] [PATCH v2 1/4] coccinelle: pm_runtime: Insert blank line Fabio Estevam
2015-05-09 20:09 ` [Cocci] [PATCH v2 2/4] coccinelle: returnvar: Use imperative mood Fabio Estevam
2015-05-09 20:09 ` [Cocci] [PATCH v2 3/4] coccinelle: ifaddr: Fix the sentence Fabio Estevam
@ 2015-05-09 20:09 ` Fabio Estevam
2015-05-09 20:15 ` [Cocci] [PATCH v2 1/4] coccinelle: pm_runtime: Insert blank line Julia Lawall
3 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2015-05-09 20:09 UTC (permalink / raw)
To: cocci
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>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
---
Changes since v1:
- None
scripts/coccinelle/api/simple_open.cocci | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/coccinelle/api/simple_open.cocci b/scripts/coccinelle/api/simple_open.cocci
index b67e174..bd1a2a4 100644
--- a/scripts/coccinelle/api/simple_open.cocci
+++ b/scripts/coccinelle/api/simple_open.cocci
@@ -1,5 +1,5 @@
-/// This removes an open coded simple_open() function
-/// and replaces file operations references to the function
+/// Remove an open coded simple_open() function
+/// and replace file operations references to the function
/// with simple_open() instead.
///
// Confidence: High
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Cocci] [PATCH v2 1/4] coccinelle: pm_runtime: Insert blank line
2015-05-09 20:09 [Cocci] [PATCH v2 1/4] coccinelle: pm_runtime: Insert blank line Fabio Estevam
` (2 preceding siblings ...)
2015-05-09 20:09 ` [Cocci] [PATCH v2 4/4] coccinelle: simple_open: Use imperative mood Fabio Estevam
@ 2015-05-09 20:15 ` Julia Lawall
2015-05-20 6:02 ` Michal Marek
3 siblings, 1 reply; 6+ messages in thread
From: Julia Lawall @ 2015-05-09 20:15 UTC (permalink / raw)
To: cocci
On Sat, 9 May 2015, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Insert a blank line in order to improve the readability of the
> generated patch and also make it consistent with the other
> .cocci files.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
> ---
> Changes since v1:
> - Replace // with /// as suggested by Julia
>
> scripts/coccinelle/api/pm_runtime.cocci | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/coccinelle/api/pm_runtime.cocci b/scripts/coccinelle/api/pm_runtime.cocci
> index f01789e..b7042d0 100644
> --- a/scripts/coccinelle/api/pm_runtime.cocci
> +++ b/scripts/coccinelle/api/pm_runtime.cocci
> @@ -1,5 +1,5 @@
> /// Make sure pm_runtime_* calls does not use unnecessary IS_ERR_VALUE
> -//
> +///
> // Keywords: pm_runtime
> // Confidence: Medium
> // Copyright (C) 2013 Texas Instruments Incorporated - GPLv2.
> --
> 1.9.1
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-05-20 6:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-09 20:09 [Cocci] [PATCH v2 1/4] coccinelle: pm_runtime: Insert blank line Fabio Estevam
2015-05-09 20:09 ` [Cocci] [PATCH v2 2/4] coccinelle: returnvar: Use imperative mood Fabio Estevam
2015-05-09 20:09 ` [Cocci] [PATCH v2 3/4] coccinelle: ifaddr: Fix the sentence Fabio Estevam
2015-05-09 20:09 ` [Cocci] [PATCH v2 4/4] coccinelle: simple_open: Use imperative mood Fabio Estevam
2015-05-09 20:15 ` [Cocci] [PATCH v2 1/4] coccinelle: pm_runtime: Insert blank line Julia Lawall
2015-05-20 6:02 ` Michal Marek
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.