summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-05-09 17:09:30 -0300
committerMichal Marek <mmarek@suse.cz>2015-05-20 14:01:41 +0800
commitca34cba43168830dd96f8f6407282131733e6fb4 (patch)
tree32ac1b42c9544726624813beab929973ffb5a7da /scripts/coccinelle
parentdd494ac0de48ded6a7ec0525f253116fde5c7be5 (diff)
downloadlinux-stable-ca34cba43168830dd96f8f6407282131733e6fb4.tar.gz
linux-stable-ca34cba43168830dd96f8f6407282131733e6fb4.tar.bz2
linux-stable-ca34cba43168830dd96f8f6407282131733e6fb4.zip
coccinelle: simple_open: 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/api/simple_open.cocci4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/coccinelle/api/simple_open.cocci b/scripts/coccinelle/api/simple_open.cocci
index b67e174f3d95..bd1a2a4ee106 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