mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
scripts: coccinelle: Fix description of badty.cocci
Summary was copy and pasted from array_size.cocci. Signed-off-by: Michael Stefaniuc <[email protected]> Acked-by: Julia Lawall <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
This commit is contained in:
parent
1a49b2fd8f
commit
7fcddf7c00
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue