diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2017-10-13 11:40:11 +0200 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2017-10-13 19:49:48 +0200 |
commit | 8c1a8a32438b95792bbd8719d1cd4fe36e9eba03 (patch) | |
tree | 1284583b20609d07db7dd30ebc61c5a1b8d7327b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff) |
KVM: arm64: its: Fix missing dynamic allocation check in scan_its_table
We currently allocate an entry dynamically, but we never check if the
allocation actually succeeded. We actually don't need a dynamic
allocation, because we know the maximum size of an ITS table entry, so
we can simply use an allocation on the stack.
Cc: <stable@vger.kernel.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions