Skip to contentSkip to conversation

coccinelle: pm_runtime: Fix grammar and typo

PATCH New Fabio Estevam 2 participants 2 messages Aug 11, 2015 Coccinelle/Semantic Patches (SmPL)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 coccinelle: pm_runtime: Fix grammar and typo

From: Fabio Estevam <[email protected]>

Fix the grammar to "calls do not use" and also fix the spelling of "Unnecessary".

---
 scripts/coccinelle/api/pm_runtime.cocci | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/coccinelle/api/pm_runtime.cocci +2 -2
index b7042d0..27eb875 100644
@@ -1,4 +1,4 @@
-/// Make sure pm_runtime_* calls does not use unnecessary IS_ERR_VALUE
+/// Make sure pm_runtime_* calls do not use unnecessary IS_ERR_VALUE
 ///
 // Keywords: pm_runtime
 // Confidence: Medium
@@ -105,5 +105,5 @@ p2 << r.p2;
 pm_runtime_api << r.pm_runtime_api;
 @@
 
-msg = "%s returns < 0 as error. Unecessary IS_ERR_VALUE at line %s" % (pm_runtime_api, p2[0].line)
+msg = "%s returns < 0 as error. Unnecessary IS_ERR_VALUE@line %s" % (pm_runtime_api, p2[0].line)
 coccilib.report.print_report(p1[0],msg)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 coccinelle: pm_runtime: Fix grammar and typo

Acked-by Julia.Lawall at lip6.fr

Thanks for your help.

Quoted 31 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Fix the grammar to "calls do not use" and also fix the spelling of "Unnecessary".

---
 scripts/coccinelle/api/pm_runtime.cocci | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/coccinelle/api/pm_runtime.cocci +2 -2
index b7042d0..27eb875 100644
@@ -1,4 +1,4 @@
-/// Make sure pm_runtime_* calls does not use unnecessary IS_ERR_VALUE
+/// Make sure pm_runtime_* calls do not use unnecessary IS_ERR_VALUE
 ///
 // Keywords: pm_runtime
 // Confidence: Medium
@@ -105,5 +105,5 @@ p2 << r.p2;
 pm_runtime_api << r.pm_runtime_api;
 @@
 
-msg = "%s returns < 0 as error. Unecessary IS_ERR_VALUE@line %s" % (pm_runtime_api, p2[0].line)
+msg = "%s returns < 0 as error. Unnecessary IS_ERR_VALUE@line %s" % (pm_runtime_api, p2[0].line)
 coccilib.report.print_report(p1[0],msg)
Signature · 1 line
1.9.1