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>
This commit is contained in:
Michael Stefaniuc 2019-03-26 22:22:00 +01:00 committed by Masahiro Yamada
parent 1a49b2fd8f
commit 7fcddf7c00

View file

@ -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