diff options
| author | Gustavo A. R. Silva <[email protected]> | 2020-06-16 12:55:43 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-06-18 09:57:57 +0200 |
| commit | 9e43eed45a48042573a5f3f27ccc15f8f9bb42e0 (patch) | |
| tree | 915618c82ad9343a20c19065c744c6374805c7ae /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 21b1f2b3fb2e24cdfe8430acc8c8d2dc10f40225 (diff) | |
staging: rts5208: Use array_size() helper in vmalloc() and memset()
The vmalloc() function has no 2-factor argument form, so multiplication
factors need to be wrapped in array_size(). Also, while there, use
array_size() in memset().
This issue was found with the help of Coccinelle and, audited and fixed
manually.
Addresses-KSPP-ID: https://github.com/KSPP/linux/issues/83
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Link: https://lore.kernel.org/r/20200616175543.GA28687@embeddedor
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions