From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v2 3/7] KVM: irqchip: convey devid to kvm_set_msi Date: Fri, 17 Jul 2015 12:09:15 +0200 Message-ID: <55A8D44A.3030105@redhat.com> References: <1436430137-24205-1-git-send-email-eric.auger@linaro.org> <1436430137-24205-4-git-send-email-eric.auger@linaro.org> <01d401d0c062$086c2ee0$19448ca0$@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: patches@linaro.org, andre.przywara@arm.com To: Pavel Fedin , 'Eric Auger' , eric.auger@st.com, linux-arm-kernel@lists.infradead.org, marc.zyngier@arm.com, christoffer.dall@linaro.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Return-path: Received: from mail-wi0-f169.google.com ([209.85.212.169]:36076 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757287AbbGQKJT (ORCPT ); Fri, 17 Jul 2015 06:09:19 -0400 Received: by widjy10 with SMTP id jy10so37273989wid.1 for ; Fri, 17 Jul 2015 03:09:18 -0700 (PDT) In-Reply-To: <01d401d0c062$086c2ee0$19448ca0$@samsung.com> Sender: kvm-owner@vger.kernel.org List-ID: On 17/07/2015 09:27, Pavel Fedin wrote: >> > + } else if (!msi->flags) >> > + return -EINVAL; > Did you mean "if (msg->flags)" here (inverted condition)? Indeed, and also you need { } around the return for the QEMU coding standard. Paolo >> > + >> > + /* historically the route.type was not set */ >> > +