Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp162268pxa; Wed, 26 Aug 2020 07:27:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcJpmi+igIc3cYVRT3JwLlc/NWJn8SURP+zWhDaiKN/b27wzjjBEoJf0659ZNw75Ija3eq X-Received: by 2002:a17:906:f848:: with SMTP id ks8mr1423552ejb.5.1598452044267; Wed, 26 Aug 2020 07:27:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598452044; cv=none; d=google.com; s=arc-20160816; b=Eyqmyzbl8vlV25DrN9A8zdbkGcm0npXiLn6X9A1PLGHZuzpDoYLEH6icjEYejVGX3U vM06Ksn8r8WsjTLQo15HBOFRZJngzyn/zLGUPRPGa/QT0ariWwUiHzhl1vto4agaSUyI 3FY5o26Ps5jWxZrJic3akGGvFHe9V8OmQyve2X9CWVBjMFKZ4yIDyA4461ou1GajwSdV lWzhfSwSlYkqDfNBTncZVKnETvD7+tPMlQXfzhlPHj+x9Usfbgp/fR+pecDJjKyS7URv 9R+oJN+7EKK0tBV2MRble8YONaqk/W1ohoA+h7UlIosVaouqUcEF+hyBfEInz2SEWCAh czMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lR+U00Oaa72ALhBmgywIm4H6+XPgRieMfQDwiYXJfM0=; b=G20spVJ5AKLcthM4GrMU2x1DBUdl03xmrJcEA9dTOtWmeE0kAG7t6+Cu4K93wJjws0 b16TriZmt8xjyiFrdzsQPgZVUffpp/clN0g3/3gIPyi2ktLxr3Tu3oGA1OmZrxT5+N3/ 7KJU8kU8lCisud0EdNr3miW5ClloTk5dQhTNYLaST0KRF7MY3GxBHeQdjl3cW4VqHrP7 +dAklVeWX8HZ6XUYEWuZ8FT8IwP4a2rJhJcjxn/aOkn0k/ZQcPMqgJjL/zzsC17w9a91 EXe71qTUOgVAwDxaN4ELxCjGhFINO2U/kpvEu6vlX0VIlqx9u6X2mo8ZxVs91KqlTQWK UyUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JvY4HW1u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz13si1845499ejb.567.2020.08.26.07.27.01; Wed, 26 Aug 2020 07:27:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JvY4HW1u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728721AbgHZLMq (ORCPT + 99 others); Wed, 26 Aug 2020 07:12:46 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:45920 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728851AbgHZLMP (ORCPT ); Wed, 26 Aug 2020 07:12:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1598440334; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lR+U00Oaa72ALhBmgywIm4H6+XPgRieMfQDwiYXJfM0=; b=JvY4HW1uljZt1zv82sMc8r6G0t+WIHjp6qD9MXfHb2grI5PmzOlryvfZoW3NHM4rR6o8DD oWzgvP0r+i33vS1Lye3DDusgHh427k0obaKVt7LFSEDV6olhxMb770/qULwwQp4/0Ymda0 3XJJuvsfU55ZVjEH6WZnKo+9DyhVXhI= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-340-U3-JTAKsMl-qeISpKjGcsw-1; Wed, 26 Aug 2020 07:12:12 -0400 X-MC-Unique: U3-JTAKsMl-qeISpKjGcsw-1 Received: by mail-wr1-f71.google.com with SMTP id o10so397635wrs.21 for ; Wed, 26 Aug 2020 04:12:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=lR+U00Oaa72ALhBmgywIm4H6+XPgRieMfQDwiYXJfM0=; b=oDbvbX9JDggZwbmB5j7QZFaUML+9X4gzMnhouEEuPfcwuntPxsyFA8ji9J8zJsjo4Q qpQXYp84UJh4P+E5FR0Isz6tMhqR1UspqF87VJr6ZlbEPuhG/QGFwzZF+zqJhkjzdgAz 3RR/5eozm7gKFvZbcjx2/nJoCpdU6jp9c52pOqGfnms5DvrRzgggTT5SS57b6iAaY1RG BLj+Js3Vu35BCMDTZxnrBdlwa9J1+hEpgDitIU5Ni0RpN6rf/JSAWQYCeMxo4xuMjUZt S1Tx99GNv3JZ6TjGh3YiLnAIaDiJ+7wEcP2KO0rkrWiZQ8A50ZECfShlsDC0pMNwxxuz E1eg== X-Gm-Message-State: AOAM530ZZQjDNMqAkG94Ze+P0KbsthWx5vnzG6BDvsZraShNn460wFb0 4ffkeAnZrqmKMOKr+reNG0ogniK66D8FUyoKPA1osREy657Tof4nJ/FGw/IL75I6Wy4v1uoigXH ljPP/G0y83FRMG6tvxE3meV0v X-Received: by 2002:adf:fa8f:: with SMTP id h15mr11854990wrr.365.1598440330948; Wed, 26 Aug 2020 04:12:10 -0700 (PDT) X-Received: by 2002:adf:fa8f:: with SMTP id h15mr11854967wrr.365.1598440330699; Wed, 26 Aug 2020 04:12:10 -0700 (PDT) Received: from redhat.com (bzq-109-67-46-169.red.bezeqint.net. [109.67.46.169]) by smtp.gmail.com with ESMTPSA id 128sm4844463wmz.43.2020.08.26.04.12.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 04:12:09 -0700 (PDT) Date: Wed, 26 Aug 2020 07:12:06 -0400 From: "Michael S. Tsirkin" To: Jason Wang Cc: virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Zhu Lingshan Subject: Re: [PATCH 1/2] vdpa: ifcvf: return err when fail to request config irq Message-ID: <20200826071200-mutt-send-email-mst@kernel.org> References: <20200723091254.20617-1-jasowang@redhat.com> <87ec5f62-4d99-e7b4-00dc-28664f8eb111@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87ec5f62-4d99-e7b4-00dc-28664f8eb111@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 07, 2020 at 11:52:09AM +0800, Jason Wang wrote: > > On 2020/7/23 下午5:12, Jason Wang wrote: > > We ignore the err of requesting config interrupt, fix this. > > > > Fixes: e7991f376a4d ("ifcvf: implement config interrupt in IFCVF") > > Cc: Zhu Lingshan > > Signed-off-by: Jason Wang > > --- > > drivers/vdpa/ifcvf/ifcvf_main.c | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/drivers/vdpa/ifcvf/ifcvf_main.c b/drivers/vdpa/ifcvf/ifcvf_main.c > > index f5a60c14b979..ae7110955a44 100644 > > --- a/drivers/vdpa/ifcvf/ifcvf_main.c > > +++ b/drivers/vdpa/ifcvf/ifcvf_main.c > > @@ -76,6 +76,10 @@ static int ifcvf_request_irq(struct ifcvf_adapter *adapter) > > ret = devm_request_irq(&pdev->dev, irq, > > ifcvf_config_changed, 0, > > vf->config_msix_name, vf); > > + if (ret) { > > + IFCVF_ERR(pdev, "Failed to request config irq\n"); > > + return ret; > > + } > > for (i = 0; i < IFCVF_MAX_QUEUE_PAIRS * 2; i++) { > > snprintf(vf->vring[i].msix_name, 256, "ifcvf[%s]-%d\n", > > > Hi Michael: > > Any comments on this series? > > Thanks > Applied, thanks!