Skip to contentSkip to conversation

Coccinelle: memdup: Fix typo in warning messages

PATCH In review Dafna Hirschfeld 3 participants 3 messages Mar 1, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Coccinelle: memdup: Fix typo in warning messages

Replace 'kmemdep' with 'kmemdup' in warning messages.

---
 scripts/coccinelle/api/memdup.cocci | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/coccinelle/api/memdup.cocci +2 -2
index 1249b72..8fd6437 100644
@@ -56,10 +56,10 @@ statement S;
 p << r.p;
 @@
 
-coccilib.org.print_todo(p[0], "WARNING opportunity for kmemdep")
+coccilib.org.print_todo(p[0], "WARNING opportunity for kmemdup")
 
 @script:python depends on report@
 p << r.p;
 @@
 
-coccilib.report.print_report(p[0], "WARNING opportunity for kmemdep")
+coccilib.report.print_report(p[0], "WARNING opportunity for kmemdup")
Signature · 8 lines
2.7.4

-- 
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20180301085717.GA4508%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
#1 lore raw

2018-03-01 17:57 GMT+09:00 Dafna Hirschfeld <[email protected]>:

Quoted 5 lines

Replace 'kmemdep' with 'kmemdup' in warning messages.

---

Applied to linux-kbuild/fixes. Thanks!

Quoted 27 lines
 scripts/coccinelle/api/memdup.cocci | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/coccinelle/api/memdup.cocci +2 -3
index 1249b72..8fd6437 100644
@@ -56,10 +56,10 @@ statement S;
 p << r.p;
 @@
 
-coccilib.org.print_todo(p[0], "WARNING opportunity for kmemdep")
+coccilib.org.print_todo(p[0], "WARNING opportunity for kmemdup")
 
 @script:python depends on report@
 p << r.p;
 @@
 
-coccilib.report.print_report(p[0], "WARNING opportunity for kmemdep")
+coccilib.report.print_report(p[0], "WARNING opportunity for kmemdup")
--

2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 9 lines
Best Regards
Masahiro Yamada

-- 
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/CAK7LNASZo27PwwbhMPV%2BKPv1u%3D933Vkt0-ve1HG1E2gxmnCUhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to Dafna Hirschfeld

Le 01/03/2018 à 09:57, Dafna Hirschfeld a écrit :

Quoted 4 lines

Replace 'kmemdep' with 'kmemdup' in warning messages.

Quoted 22 lines
---
  scripts/coccinelle/api/memdup.cocci | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
scripts/coccinelle/api/memdup.cocci +2 -2
index 1249b72..8fd6437 100644
@@ -56,10 +56,10 @@ statement S;
  p << r.p;
  @@
 
-coccilib.org.print_todo(p[0], "WARNING opportunity for kmemdep")
+coccilib.org.print_todo(p[0], "WARNING opportunity for kmemdup")
 
  @script:python depends on report@
  p << r.p;
  @@
 
-coccilib.report.print_report(p[0], "WARNING opportunity for kmemdep")
+coccilib.report.print_report(p[0], "WARNING opportunity for kmemdup")
Signature · 9 lines
Nicolas Palix
http://lig-membres.imag.fr/palix/

-- 
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/8cc75580-b29a-a599-4af1-6bb3783bc705%40imag.fr.
For more options, visit https://groups.google.com/d/optout.