From: Heiko Carstens Date: Mon, 25 Mar 2013 16:22:53 +0000 (+0100) Subject: KVM: s390: fix and enforce return code handling for irq injections X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~32^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db4a29cb6ac7b2fda505923bdbc58fc35a719f62;p=pandora-kernel.git KVM: s390: fix and enforce return code handling for irq injections kvm_s390_inject_program_int() and friends may fail if no memory is available. This must be reported to the calling functions, so that this gets passed down to user space which should fix the situation. Alternatively we end up with guest state corruption. So fix this and enforce return value checking by adding a __must_check annotation to all of these function prototypes. Signed-off-by: Heiko Carstens Acked-by: Cornelia Huck Signed-off-by: Cornelia Huck Signed-off-by: Gleb Natapov --- Reading git-diff-tree failed