cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
* [Cocci] [PATCH] scripts: coccinelle: Fix description of badty.cocci
@ 2019-03-26 21:22 Michael Stefaniuc
  2019-03-26 21:31 ` Julia Lawall
  2019-03-28 13:23 ` Masahiro Yamada
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Stefaniuc @ 2019-03-26 21:22 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: Michal Marek, cocci, linux-kernel

Summary was copy and pasted from array_size.cocci.

Signed-off-by: Michael Stefaniuc <mstefani@mykolab.com>
---
 scripts/coccinelle/misc/badty.cocci | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/coccinelle/misc/badty.cocci b/scripts/coccinelle/misc/badty.cocci
index 481cf301ccfc..08470362199c 100644
--- a/scripts/coccinelle/misc/badty.cocci
+++ b/scripts/coccinelle/misc/badty.cocci
@@ -1,4 +1,4 @@
-/// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
+/// Correct the size argument to alloc functions
 ///
 //# This makes an effort to find cases where the argument to sizeof is wrong
 //# in memory allocation functions by checking the type of the allocated memory
-- 
2.20.1

_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-28 13:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26 21:22 [Cocci] [PATCH] scripts: coccinelle: Fix description of badty.cocci Michael Stefaniuc
2019-03-26 21:31 ` Julia Lawall
2019-03-28 13:23 ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).