diff options
author | Michael Stefaniuc <mstefani@mykolab.com> | 2019-03-26 22:22:00 +0100 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-03-28 15:46:56 +0100 |
commit | 7fcddf7c004140052d6f72273a0455239ad49112 (patch) | |
tree | 9a0dedc9cabe8c8f8bace98b6862d13a753b1937 /scripts | |
parent | kbuild: strip whitespace in cmd_record_mcount findstring (diff) | |
download | linux-7fcddf7c004140052d6f72273a0455239ad49112.tar.xz linux-7fcddf7c004140052d6f72273a0455239ad49112.zip |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/coccinelle/misc/badty.cocci | 2 |
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 |