Re: [PATCH] Coccinelle: memdup: Fix typo in warning messages

From: Nicolas Palix (LIG)
Date: Thu Mar 01 2018 - 14:55:29 EST


Le 01/03/2018 Ã 09:57, Dafna Hirschfeld a ÃcritÂ:
Replace 'kmemdep' with 'kmemdup' in warning messages.

Signed-off-by: Dafna Hirschfeld <dafna3@xxxxxxxxx>
Acked-by: Julia Lawall <julia.lawall@xxxxxxx>
Acked-by: Nicolas Palix <nicolas.palix@xxxxxxx>
---
scripts/coccinelle/api/memdup.cocci | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/coccinelle/api/memdup.cocci b/scripts/coccinelle/api/memdup.cocci
index 1249b72..8fd6437 100644
--- a/scripts/coccinelle/api/memdup.cocci
+++ b/scripts/coccinelle/api/memdup.cocci
@@ -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")



--
Nicolas Palix
http://lig-membres.imag.fr/palix/