diff options
author | 2016-08-28 17:34:46 +0200 | |
---|---|---|
committer | 2016-09-12 10:12:46 +1000 | |
commit | 46d4e7479252d3fd82a0ea121daef75164a91939 (patch) | |
tree | 5145adab0abec1bc16384e036e53d2597683426c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: PPC: e500: Use kmalloc_array() in kvm_vcpu_ioctl_config_tlb() (diff) | |
download | linux-dev-46d4e7479252d3fd82a0ea121daef75164a91939.tar.xz linux-dev-46d4e7479252d3fd82a0ea121daef75164a91939.zip |
KVM: PPC: e500: Less function calls in kvm_vcpu_ioctl_config_tlb() after error detection
The kfree() function was called in two cases by the
kvm_vcpu_ioctl_config_tlb() function during error handling
even if the passed data structure element contained a null pointer.
* Split a condition check for memory allocation failures.
* Adjust jump targets according to the Linux coding style convention.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions