Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp995661pxv; Thu, 22 Jul 2021 18:36:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvc4JWIdlql7SSlwQhiFQPJ/j23rywVc/3LDsMj/1iBKmph3rkqoLaddrKljxPkCvKupo+ X-Received: by 2002:a50:8e19:: with SMTP id 25mr2903170edw.11.1627004168554; Thu, 22 Jul 2021 18:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627004168; cv=none; d=google.com; s=arc-20160816; b=cLJVUebIqYKgSv8rNOe6Y77kOmJvSwOtQDCt8gsaEh7zJ43BXdFLczuoBF3rcjm0if K/DGj3yJRZgMDVB3+QrXgGrShhGvzpA832oljgPq0AmXHe7BPbGL8TVxlYTKLZNSuC7N DcGqKnttPCHWIt3YlHwppAXlIFKrOcAwM6mzNy9VH99rUbH/+54BpepV++M43anrl4T6 o8510WQrozz3Ol8aFcJ96iW+qShFSIWvDuzLKDBWHqSPgscCyr7hQIshuWgMMGPEmsOD U/0YSeLhM2Vkl1UVoYm7weYs4oduw00uwFEpCZD1+BnPAFKT1M3B1XJ9Gw/t6s1U7RtV 0RVQ== 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=zAzYpwPpdmi4IHWFENuWiLmv9B5LcdRRn6lJobUHvmU=; b=nYJSWHLVzXhD04WdG/3YFuOGSm7IactCE7H9YpQ7D3W8Cp892x/XQ4S44UzhbF+xpB gg1kaUDOk4/xo2qmslevDRdN9oFhS5D9pYGvnP8oeLMm0tTuDN/NpOMkQYzQNBotYFw+ AypMU6Bq6gT/Ch4uPvRYDX7XgAwpDURR8Rl/ODPVZda+b3ww3fzZP6sWvZc0TQ2QXx3S K1GAp/Lxw4o0d9bmJJwBbXcK+XtBmleWldBJMZHNvHBpo6EIpZ6BeAhr6IGwuUlXthVq WNM8Y1u2oKqZ4oQ9CVGEV1Qi3O4nNVY6MuQdl1QaoQo6oHIv0P6DXI2TP8ungMfa8aAu HxNw== 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 f19si5706015edf.525.2021.07.22.18.35.44; Thu, 22 Jul 2021 18:36:08 -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 S233023AbhGWAxs (ORCPT + 99 others); Thu, 22 Jul 2021 20:53:48 -0400 Received: from mx20.baidu.com ([111.202.115.85]:36842 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232892AbhGWAxs (ORCPT ); Thu, 22 Jul 2021 20:53:48 -0400 Received: from BC-Mail-Ex27.internal.baidu.com (unknown [172.31.51.21]) by Forcepoint Email with ESMTPS id B6466AD42759CA2F2F41; Fri, 23 Jul 2021 09:34:19 +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:34:19 +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:34:19 +0800 From: "Cai,Huoqing" To: "Derrick, Jonathan" CC: "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 2/2] PCI: vmd: Make use of PCI_DEVICE_DATA() helper function Thread-Topic: [PATCH 2/2] PCI: vmd: Make use of PCI_DEVICE_DATA() helper function Thread-Index: AQHXfuz06iWan68U8E67FndxP9SPDKtOrgaAgAEY9JA= Date: Fri, 23 Jul 2021 01:34:19 +0000 Message-ID: References: <20210722112954.477-1-caihuoqing@baidu.com> <20210722112954.477-3-caihuoqing@baidu.com> In-Reply-To: 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="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGVsbG8sDQoJUEFUQ0hbMi8yXSBoYXMgc29tZSBleHRyYSBpbmRlbnRhdGlvbiwgcGxlYXNlIGRv bid0IGFwcGx5IGl0ICwgDQpJJ2xsIHNlbmQgUEFUQ0ggVjIuDQpUSFgNCg0KLS0tLS1PcmlnaW5h bCBNZXNzYWdlLS0tLS0NCkZyb206IERlcnJpY2ssIEpvbmF0aGFuIDxqb25hdGhhbi5kZXJyaWNr QGludGVsLmNvbT4gDQpTZW50OiAyMDIx5bm0N+aciDIz5pelIDA6NDYNClRvOiBDYWksSHVvcWlu ZyA8Y2FpaHVvcWluZ0BiYWlkdS5jb20+DQpDYzogbGludXgtcGNpQHZnZXIua2VybmVsLm9yZzsg bGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZw0KU3ViamVjdDogUmU6IFtQQVRDSCAyLzJdIFBD STogdm1kOiBNYWtlIHVzZSBvZiBQQ0lfREVWSUNFX0RBVEEoKSBoZWxwZXIgZnVuY3Rpb24NCg0K SGVsbG8sDQoNCk9uIDcvMjIvMjAyMSA1OjI5IEFNLCBDYWkgSHVvcWluZyB3cm90ZToNCj4gV2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BDSV9WRU5ET1JfSURfSU5U RUwsIFBDSV9ERVZJQ0VfSURfSU5URUxfVk1EXzlBMEIpLA0KPiAtICAgICAgICAgICAgICAgLmRy aXZlcl9kYXRhID0gVk1EX0ZFQVRfSEFTX01FTUJBUl9TSEFET1dfVlNDQVAgfA0KPiAtICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIFZNRF9GRUFUX0hBU19CVVNfUkVTVFJJQ1RJT05TIHwN Cj4gLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBWTURfRkVBVF9PRkZTRVRfRklSU1Rf VkVDVE9SLH0sDQo+IC0gICAgICAgezAsfQ0KPiArICAgICAgIHsgUENJX0RFVklDRV9EQVRBKElO VEVMLCBWTURfMjAxRCwNCj4gKyAgICAgICAgICAgICAgICAgICAgICAgICBWTURfRkVBVF9IQVNf TUVNQkFSX1NIQURPV19WU0NBUCkgfSwNCj4gKyAgICAgICB7IFBDSV9ERVZJQ0VfREFUQShJTlRF TCwgVk1EXzI4QzAsDQo+ICsgICAgICAgICAgICAgICAgICAgICAgICAgVk1EX0ZFQVRfSEFTX01F TUJBUl9TSEFET1cgfA0KPiArICAgICAgICAgICAgICAgICAgICAgICAgIFZNRF9GRUFUX0hBU19C VVNfUkVTVFJJQ1RJT05TIHwNCj4gKyAgICAgICAgICAgICAgICAgICAgICAgICBWTURfRkVBVF9D QU5fQllQQVNTX01TSV9SRU1BUCkgfSwNCj4gKyAgICAgICB7IFBDSV9ERVZJQ0VfREFUQShJTlRF TCwgVk1EXzQ2N0YsDQo+ICsgICAgICAgICAgICAgICAgICAgICAgICAgVk1EX0ZFQVRfSEFTX01F TUJBUl9TSEFET1dfVlNDQVAgfA0KPiArICAgICAgICAgICAgICAgICAgICAgICAgIFZNRF9GRUFU X0hBU19CVVNfUkVTVFJJQ1RJT05TIHwNCj4gKyAgICAgICAgICAgICAgICAgICAgICAgICBWTURf RkVBVF9PRkZTRVRfRklSU1RfVkVDVE9SKSB9LA0KPiArICAgICAgIH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