commit | 8c1a8a32438b95792bbd8719d1cd4fe36e9eba03 | [log] [tgz] |
---|---|---|
author | Christoffer Dall <christoffer.dall@linaro.org> | Fri Oct 13 11:40:11 2017 +0200 |
committer | Christoffer Dall <christoffer.dall@linaro.org> | Fri Oct 13 19:49:48 2017 +0200 |
tree | 1284583b20609d07db7dd30ebc61c5a1b8d7327b | |
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>