[PATCH] KVM: PPC: Book3S PR: return appropriate error when allocation fails
Alexander Graf
agraf at suse.de
Thu Aug 29 00:26:46 EST 2013
On 17.07.2013, at 17:10, Thadeu Lima de Souza Cascardo wrote:
> 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 at linux.vnet.ibm.com>
Thanks, applied to kvm-ppc-queue.
Alex
More information about the Linuxppc-dev
mailing list