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:
parent
1a49b2fd8f
commit
7fcddf7c00
|
@ -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
|
//# 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
|
//# in memory allocation functions by checking the type of the allocated memory
|
||||||
|
|
Loading…
Reference in New Issue