Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp994391pxv; Thu, 22 Jul 2021 18:33:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyowV2ZHrB6To6vadD4gE9x6hX3xDuMuJRmXCIwiXiAXRIQPzj9U1c+7OrQtDspU2/LD3Ei X-Received: by 2002:a92:c10c:: with SMTP id p12mr1803339ile.92.1627004002940; Thu, 22 Jul 2021 18:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627004002; cv=none; d=google.com; s=arc-20160816; b=t1Cu/+GXnIzph2HTZ+okpyI6bKISfK3CMStBuCZX0e/SX4dq0BjbFdZvZSUIz/U5Vd yZg/HBCdXJtDwMLXJOdlX7gG63IRMG8kUICLMDRQBn7KkYg8SyE4p18BoF9uNhGJohey WmggrThiz+eLHQflTfDKh4pXHEISidtVg1B0yLklxkL+RM4uhQ7IG7UsYwOg3yafIS3U TmdhVVFyO+8SOnibkJRpH/9J3VqKL1298sN3mSs/Q0oBZRV56+tX6LOEPAuaK/OCXxHM n/kCDoRUJnuVDOu/nnZ6kES7zQlnlX5Rc8yvcHVEMZAYWRT03N5v5ONU5T3C4iDGnzSa YJHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=JyrPYUXx5eeURcOUZLhUx9LA9NLU2PEvBWZ1QtIgV7Q=; b=SLmddhobIJbZMgoV7PUhgZuAMw2EblzVgzd71f+p1ZyaZGXL8dO0D7yyNUn4fREzw6 3yLJN0lBU+YMtnmq/DZvfFqsSPkPgxU8bbrwBcInjzCJvnK9uKMzlqtpzGEB34ia4Mve r+AyPaq3gmwiOkrTqppRsyT7I1dO1JzDDtCX6yPlmNme60695m+PYly8hhctUiOHevbB hDgYm4sOMwHbF5UUmZgklfm2OKiYwKAzo2zB2xmZJVBv8ie4XjeJFQYJHqVx+hJ61W8L acPKUoVnIkxnZ8HASrLA9t/WKri5hkW+g86i+YZ7JECAYzoe3ki/zXGb1Xs8zaGYMUxd N8bw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j12si31686836jar.85.2021.07.22.18.33.11; Thu, 22 Jul 2021 18:33:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233085AbhGWAuz (ORCPT + 99 others); Thu, 22 Jul 2021 20:50:55 -0400 Received: from mx21.baidu.com ([220.181.3.85]:34170 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232992AbhGWAuz (ORCPT ); Thu, 22 Jul 2021 20:50:55 -0400 Received: from BC-Mail-Ex27.internal.baidu.com (unknown [172.31.51.21]) by Forcepoint Email with ESMTPS id CAD2866F9C9FEE926CA; Fri, 23 Jul 2021 09:30:57 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex27.internal.baidu.com (172.31.51.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 23 Jul 2021 09:30:57 +0800 Received: from BJHW-MAIL-EX27.internal.baidu.com ([169.254.58.247]) by BJHW-MAIL-EX27.internal.baidu.com ([169.254.58.247]) with mapi id 15.01.2308.014; Fri, 23 Jul 2021 09:30:57 +0800 From: "Cai,Huoqing" To: Bjorn Helgaas CC: "bhelgaas@google.com" , "jonathan.derrick@intel.com" , "kw@linux.com" , "lorenzo.pieralisi@arm.com" , "robh@kernel.org" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 0/2] PCI: Make use of PCI_DEVICE_XXX() helper function Thread-Topic: [PATCH 0/2] PCI: Make use of PCI_DEVICE_XXX() helper function Thread-Index: AQHXfutlH33bL9BhfEO2Qe6OtAUea6tOr/GAgAEQVdA= Date: Fri, 23 Jul 2021 01:30:57 +0000 Message-ID: References: <20210722111903.432-1-caihuoqing@baidu.com> <20210722165225.GA316118@bjorn-Precision-5520> In-Reply-To: <20210722165225.GA316118@bjorn-Precision-5520> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.18.18.94] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGVsbG8NCglJIGdldCBpdCBhbmQgd2lsbCBzZW5kIHBhdGNoIFBBVENIIGFnYWluLg0KDQpUSFgN Cg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEJqb3JuIEhlbGdhYXMgPGhlbGdh YXNAa2VybmVsLm9yZz4gDQpTZW50OiAyMDIxxOo31MIyM8jVIDA6NTINClRvOiBDYWksSHVvcWlu ZyA8Y2FpaHVvcWluZ0BiYWlkdS5jb20+DQpDYzogYmhlbGdhYXNAZ29vZ2xlLmNvbTsgam9uYXRo YW4uZGVycmlja0BpbnRlbC5jb207IGt3QGxpbnV4LmNvbTsgb25hdGhhbi5kZXJyaWNrQGludGVs LmNvbTsgbG9yZW56by5waWVyYWxpc2lAYXJtLmNvbTsgcm9iaEBrZXJuZWwub3JnOyBsaW51eC1w Y2lAdmdlci5rZXJuZWwub3JnOyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnDQpTdWJ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