Re: [PATCH 03/11] KVM: PPC: Book3S HV: Move error code assignments in two functions

2017-01-23 Thread Paolo Bonzini
On 20/01/2017 19:21, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 20 Jan 2017 10:30:26 +0100 > > A local variable was set to an error code in a few cases before a concrete > error situation was detected. Thus move the corresponding assignments into > if branches to indicate a so

[PATCH 03/11] KVM: PPC: Book3S HV: Move error code assignments in two functions

2017-01-20 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 20 Jan 2017 10:30:26 +0100 A local variable was set to an error code in a few cases before a concrete error situation was detected. Thus move the corresponding assignments into if branches to indicate a software failure there. This issue was detected by using the