Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1202340 > unrolled thread
| Started by | Paolo Bonzini <pbonzini@redhat.com> |
|---|---|
| First post | 2015-08-07 09:20 +0200 |
| Last post | 2015-08-10 17:50 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] kvm:s390:Fix assumption that kvm_set_irq_routing is always run successfully Paolo Bonzini <pbonzini@redhat.com> - 2015-08-07 09:20 +0200
Re: [PATCH] kvm:s390:Fix assumption that kvm_set_irq_routing is always run successfully Paolo Bonzini <pbonzini@redhat.com> - 2015-08-10 17:50 +0200
| From | Paolo Bonzini <pbonzini@redhat.com> |
|---|---|
| Date | 2015-08-07 09:20 +0200 |
| Subject | Re: [PATCH] kvm:s390:Fix assumption that kvm_set_irq_routing is always run successfully |
| Message-ID | <pUK6D-N5-33@gated-at.bofh.it> |
On 06/08/2015 19:05, Nicholas Krause wrote:
> This fixes the assumption that kvm_set_irq_routing is always run
> successfully by instead making it equal to the variable r which
> we use for returning in the function kvm_arch_vm_ioctl instead
> of making r equal to zero when calling this particular function
> and incorrectly making the caller of kvm_arch_vm_ioctl think
> the function has run successfully.
>
> Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
> ---
> arch/s390/kvm/kvm-s390.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
> index f32f843..660860f 100644
> --- a/arch/s390/kvm/kvm-s390.c
> +++ b/arch/s390/kvm/kvm-s390.c
> @@ -879,8 +879,7 @@ long kvm_arch_vm_ioctl(struct file *filp,
> if (kvm->arch.use_irqchip) {
> /* Set up dummy routing. */
> memset(&routing, 0, sizeof(routing));
> - kvm_set_irq_routing(kvm, &routing, 0, 0);
> - r = 0;
> + r = kvm_set_irq_routing(kvm, &routing, 0, 0);
> }
> break;
> }
>
Seems good.
Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Paolo Bonzini <pbonzini@redhat.com> |
|---|---|
| Date | 2015-08-10 17:50 +0200 |
| Message-ID | <pVXuO-2cJ-27@gated-at.bofh.it> |
| In reply to | #1202340 |
On 10/08/2015 17:21, nick wrote: > > Seems good. > > > > Paolo > > If it makes it easier for you to trust my patches I can show at least 10 bug fixes for other subsystems > to prove that I am trying to do this correctly. That's up to those maintainers... I definitely see some improvement in your patches, though I still haven't answered the submissions that in my opinion are a bit more problematic. Paolo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web