summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stefaniuc <mstefani@mykolab.com>2019-03-26 22:22:00 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-03-28 23:46:56 +0900
commit7fcddf7c004140052d6f72273a0455239ad49112 (patch)
tree9a0dedc9cabe8c8f8bace98b6862d13a753b1937
parent1a49b2fd8f58dd397043a17de9b3c421ccf8eda7 (diff)
scripts: coccinelle: Fix description of badty.cocci
Summary was copy and pasted from array_size.cocci. Signed-off-by: Michael Stefaniuc <mstefani@mykolab.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--scripts/coccinelle/misc/badty.cocci2
1 files changed, 1 insertions, 1 deletions
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