Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1922306pxa; Thu, 6 Aug 2020 20:56:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyP5/vgNYJQQ6vjBTyK213jsNZGwU6iKe8/wEDYDXgHbKS1/q40ATSCRm3QZEDpiQmZKcil X-Received: by 2002:a17:906:27d7:: with SMTP id k23mr7442442ejc.74.1596772606153; Thu, 06 Aug 2020 20:56:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596772606; cv=none; d=google.com; s=arc-20160816; b=c2kjFzMit6LzxJvr9+MvruwS6PEBWzCn8nghTrNXyZKjaS1gtk7Qb8yRYYDeFyKn9f qnhJ5yifSz+9T7JhTm58sowMS3KQLPBlb9YaQgrpwkoL+8Oc3y9bRI4Fy9cj3QENTP6z IasJc7yPaMkNTLU8nw1LfqHYuYfl+SDXIN2WQHZ2tXXYg1Vt3vKAin4KYFSjbiqDdlyZ FbQwat4EvwDlnZhQdnlGlXEFv76kk8zLHDqfH9m6nIcCOOBaDmVzkRZNDs8FleDDk7EG bBhhwi7V/Y3Gv3of4FaYloyxpnvoEKcDR/St8Jq6GUuaO4+g6fxtxNfGas2/O87jycQS pbSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=XWEf4pn49dLkVtcRCpVfMFyzG0kkdDtY0L/o/mAs7Gg=; b=mt/+/Ba9VK3MD+/29+Q2hzD9YLYgAZHhmAxMRARbCtlhutAffKmHYUYtuy0xYSbLfQ Nky6A4WzHq0HqCMLWzX7Ri13w0q3v3mn/gYGH2nxptWDW6w0fojtSjeOQtw4lLQyzqKE a0y4jm6ClyT5Pz77z2TgQGLfcoo7IIREwsg+rgNs77hKURwciY4YD9Erhy9r7YUyfd4M x8WPgNtRJtPKTKmuPv82QPY1sbgtL2JwM+ygKsYVv5XNOmoXCg+99oB1uua3ngPw0/4B Jbid7Mhro3nNoc9mQqYhq6ijlTmn/m6V6av++q66p/EyG0Bul0R0TYcWGkavwKxHckNR b5XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="KboiF1/r"; 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 w1si4520335ejc.440.2020.08.06.20.56.23; Thu, 06 Aug 2020 20:56:46 -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="KboiF1/r"; 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 S1726585AbgHGDwU (ORCPT + 99 others); Thu, 6 Aug 2020 23:52:20 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:60635 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726489AbgHGDwS (ORCPT ); Thu, 6 Aug 2020 23:52:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596772337; 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=XWEf4pn49dLkVtcRCpVfMFyzG0kkdDtY0L/o/mAs7Gg=; b=KboiF1/r64Jf7wO1St11/BSYD+r2pYIffreBdz/H3lP4SdoyG0Miav3qkzc0PjiZ2Ec/DD 01bcjFsltKYijC8qvU4rNC2N7+78xwnMavx1/V4XOEbsu1eScefekX7jwI4537lsp05Jqr PRoTgDn3JBOOoYKitKQj/Mn0TtEgFQk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-434-IdSPMwuRP9iPilSmJ22-ZQ-1; Thu, 06 Aug 2020 23:52:15 -0400 X-MC-Unique: IdSPMwuRP9iPilSmJ22-ZQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E4901C7466; Fri, 7 Aug 2020 03:52:14 +0000 (UTC) Received: from [10.72.13.215] (ovpn-13-215.pek2.redhat.com [10.72.13.215]) by smtp.corp.redhat.com (Postfix) with ESMTP id C339B6842F; Fri, 7 Aug 2020 03:52:10 +0000 (UTC) Subject: Re: [PATCH 1/2] vdpa: ifcvf: return err when fail to request config irq To: mst@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Cc: Zhu Lingshan References: <20200723091254.20617-1-jasowang@redhat.com> From: Jason Wang Message-ID: <87ec5f62-4d99-e7b4-00dc-28664f8eb111@redhat.com> Date: Fri, 7 Aug 2020 11:52:09 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200723091254.20617-1-jasowang@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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