diff options
author | Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> | 2013-07-17 19:10:29 +0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-08-28 18:26:33 +0400 |
commit | 7c7b406e6b2867b8dcd638519e42b199ae222358 (patch) | |
tree | 88e5a3bb9749090b2e2a43c7953cfe713d9218a7 /arch/powerpc/kvm/book3s_xics.c | |
parent | 5d226ae56f4dee608099daa599d9df0d12e3b006 (diff) | |
download | linux-7c7b406e6b2867b8dcd638519e42b199ae222358.tar.xz |
KVM: PPC: Book3S PR: return appropriate error when allocation fails
err was overwritten by a previous function call, and checked to be 0. If
the following page allocation fails, 0 is going to be returned instead
of -ENOMEM.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/book3s_xics.c')
0 files changed, 0 insertions, 0 deletions