Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1620262ybi; Wed, 3 Jul 2019 20:02:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/luuOP7PfvnIx4A8FzVX794mJ9TUnYqzlkTrBxUcAr9ROQHRUF9mIvH7w6N1hfsYwSAp5 X-Received: by 2002:a63:e5a:: with SMTP id 26mr11520933pgo.3.1562209328692; Wed, 03 Jul 2019 20:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562209328; cv=none; d=google.com; s=arc-20160816; b=se5MIYSHKI52x9LMPzjQOP5akoTbajv97pKGRipPV9zeVDnzpv8waleUc12XrkPwxS 7bAE/y+vWr92BTF6bhyfnKbRLEwTILvC4wssQyNiQhmap+pwQabBpuqfVupXA7jpC9lN xkONbLWCysXSCb029bwCg73LvyZfdiHl7pKo72s9BBMQ0l03NJ7AwvS2a5QybpETMYDh EKjEQ4roDGT5ddlGJACqwCLzNUHVQPbeQokcJPadpjUKvNEFu8f3bFvl5u29zA0u1ywa Jg0f+hPSHs7muYD2IPtNQz0YWU17L+ev+8oUyrYNkjJ9LjVqzUHS7YFJzFiAjOKwkPmf gcMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=iszrOT35j64WZvex1POuuUI2gOHwuUkLYuNMOG4hO9U=; b=hHx9T0b9sP9Q5kOew11cEVVjce8B/tmRP6ALoUn2s93yBavXauoGxeqPQrSQsRSXLg piq4bBy09N28Sah35B4fRmrr6q6hD8n4x3fFxMIVGqMST2a0RD/EoBZ7oVxh/R5zTP1x WvYMUcdtk1otGkaSdfjZIQKQVnWIj0WP53bVn3Z662cTepNLQyplARhT2vx6hS5IfSC3 uSUVgVlV+4gzUhFJaTnrhml+NtvsoH2ZD8vF8QbXY9DIY1ijQUDmGUUK+aMjryMVgYO6 jeSEpEQV9Fs97RG0DcYSg16wvnGQdnvIVOc6rf2qMOejVfwe9nMMSOumKRLcJ9psfn/W IaHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=l8Mz0oia; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g18si4096316plq.190.2019.07.03.20.01.53; Wed, 03 Jul 2019 20:02:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=l8Mz0oia; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727261AbfGDDBE (ORCPT + 99 others); Wed, 3 Jul 2019 23:01:04 -0400 Received: from mail-eopbgr80078.outbound.protection.outlook.com ([40.107.8.78]:41870 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726736AbfGDDBE (ORCPT ); Wed, 3 Jul 2019 23:01:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iszrOT35j64WZvex1POuuUI2gOHwuUkLYuNMOG4hO9U=; b=l8Mz0oiaLkc2sK1I5AZd8L9YJtXy1mRn6UOiFzUqtShkNQNSr8HNKcNWngWDwYsZlsgieK52HVNbzo2gobIwtrjTbGn+Lddiwz2Ni61ay6BBu8/PNmpj9AUFwT/ZBeC3u3IkdRkOUERwZpOac2hIUHbWQAw5fWVIJKW9K3kootw= Received: from DB8PR04MB6747.eurprd04.prod.outlook.com (20.179.250.159) by DB8PR04MB5643.eurprd04.prod.outlook.com (20.179.10.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.20; Thu, 4 Jul 2019 03:00:37 +0000 Received: from DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::93a:4344:1120:4ca0]) by DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::93a:4344:1120:4ca0%6]) with mapi id 15.20.2032.019; Thu, 4 Jul 2019 03:00:37 +0000 From: "Z.q. Hou" To: Lorenzo Pieralisi CC: "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "l.subrahmanya@mobiveil.co.in" , "shawnguo@kernel.org" , Leo Li , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Mingkai Hu , "M.h. Lian" , Xiaowei Bao Subject: RE: [PATCHv5 02/20] PCI: mobiveil: Format the code without functionality change Thread-Topic: [PATCHv5 02/20] PCI: mobiveil: Format the code without functionality change Thread-Index: AQHU8Qqsskjg5i2JJUOtSWDylHX9tqa5gziAgAC/goA= Date: Thu, 4 Jul 2019 03:00:37 +0000 Message-ID: References: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> <20190412083635.33626-3-Zhiqiang.Hou@nxp.com> <20190703151905.GD26804@e121166-lin.cambridge.arm.com> In-Reply-To: <20190703151905.GD26804@e121166-lin.cambridge.arm.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 36e95b01-1709-457e-e498-08d7002bca57 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB8PR04MB5643; x-ms-traffictypediagnostic: DB8PR04MB5643: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0088C92887 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(39860400002)(136003)(366004)(376002)(346002)(199004)(189003)(13464003)(53946003)(86362001)(316002)(478600001)(2906002)(55016002)(9686003)(6246003)(5660300002)(33656002)(229853002)(6436002)(52536014)(54906003)(30864003)(53936002)(66066001)(3846002)(6116002)(53546011)(305945005)(476003)(25786009)(8936002)(71190400001)(186003)(14444005)(11346002)(6506007)(71200400001)(8676002)(256004)(7416002)(99286004)(102836004)(66946007)(81166006)(81156014)(73956011)(66446008)(7736002)(7696005)(76176011)(486006)(4326008)(26005)(446003)(64756008)(14454004)(6916009)(66556008)(66476007)(68736007)(74316002)(76116006)(579004);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR04MB5643;H:DB8PR04MB6747.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: cnppBavjibYW+eaqvdlPmd/Q/D+SrZ+pTWA8uWUSRNvdjhOG8LO4d7j6G8XRS5QUpXlyR/6WEOMbgxIgp/gIgxbthl2lLbTq/khja2eDAgvdgYuI+gPXp+Qyl9aPmYkTZMaxNivLSFlsX2G/416eknTe+cWYqglGhv3fUYuVQBJZZtNwfsJR2bMswRt4dLXW/gWt+TTPXtaIvMWAPQKtX6Y7R5WsYKdrOyNlEQk7P6rS54pY4WQcVTMPHsG65adOxmbNK/2rm7Z2+yWCmMfuPDYeIk4nAzZvlYdf6/+WyidUR22L3dDLrG+ZaBR5JCtknsmOS0/EPHershfdp0G4TRaO0c01t8MNXWZXebJ9CIjJYULRVNbyEiJj8vatuZlokvZo0l1vSTZ3aMVV/P0xR1GLJ++UAs+M14UXxS48d9s= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 36e95b01-1709-457e-e498-08d7002bca57 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2019 03:00:37.2906 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: zhiqiang.hou@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB5643 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTG9yZW56bywNCg0KVGhhbmtzIGZvciB5b3VyIGNvbW1lbnRzIQ0KDQo+IC0tLS0tT3JpZ2lu YWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IExvcmVuem8gUGllcmFsaXNpIDxsb3JlbnpvLnBpZXJh bGlzaUBhcm0uY29tPg0KPiBTZW50OiAyMDE5xOo31MIzyNUgMjM6MTkNCj4gVG86IFoucS4gSG91 IDx6aGlxaWFuZy5ob3VAbnhwLmNvbT4NCj4gQ2M6IGxpbnV4LXBjaUB2Z2VyLmtlcm5lbC5vcmc7 IGxpbnV4LWFybS1rZXJuZWxAbGlzdHMuaW5mcmFkZWFkLm9yZzsNCj4gZGV2aWNldHJlZUB2Z2Vy Lmtlcm5lbC5vcmc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