summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-06-16 00:18:55 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-18 01:04:03 +0300
commit682591f7a6fae0cba255af889fae3d6e211d4d25 (patch)
tree7c99cd623d2647636494921ee4ed5af080ae1747 /tools/perf/scripts/python/stackcollapse.py
parentcad2929dc4321b1f237767e9bd271b61a2eaa752 (diff)
downloadlinux-682591f7a6fae0cba255af889fae3d6e211d4d25.tar.xz
liquidio: Replace vmalloc_node + memset with vzalloc_node and use array_size
Use vzalloc/vzalloc_node instead of the vmalloc/vzalloc_node and memset. Also, notice that vzalloc_node() function has no 2-factor argument form to calculate the size for the allocation, so multiplication factors need to be wrapped in array_size(). 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 <gustavoars@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions