Commit 7fcddf7c authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Masahiro Yamada
Browse files

scripts: coccinelle: Fix description of badty.cocci



Summary was copy and pasted from array_size.cocci.

Signed-off-by: default avatarMichael Stefaniuc <mstefani@mykolab.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 1a49b2fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
/// 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