Skip to content
Snippets Groups Projects
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
No related merge requests found
/// 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment