From: Thadeu Lima de Souza Cascardo Date: Wed, 17 Jul 2013 15:10:29 +0000 (-0300) Subject: KVM: PPC: Book3S PR: return appropriate error when allocation fails X-Git-Tag: v3.12-rc1~143^2~5^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c7b406e6b2867b8dcd638519e42b199ae222358;p=pandora-kernel.git 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 Signed-off-by: Alexander Graf --- Reading git-diff-tree failed