Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1606031ybi; Wed, 3 Jul 2019 19:42:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxThw4SVobUIws1fDYuGQBCw493O8IfmLlDl/brtfj2G5+J1vcDXLa3MofI/Lcv8lRgGn8B X-Received: by 2002:a17:90a:b00b:: with SMTP id x11mr16750877pjq.120.1562208177314; Wed, 03 Jul 2019 19:42:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562208177; cv=none; d=google.com; s=arc-20160816; b=lGYxqgvFRiDBFPJeTDJHZRgLRCN5jkD5exKwrROAvzHjRuE6o5OhpGtBPqxqa4fyRn 1DvNP98o/08kjXcTgP8/68vbH+OJCljmLnSXJqjlgSa8nRYTPEF45T7dI5+6ZJMxAnx/ CZx2Fi+nhv8Ax6DXUzcJ2x9YeueHDUf571Br/mKr1UDLSW6vCjiNA8C/WBoAoQ7JlOok VRDA3b19ZXBQvGIluVbVSDBdgGq1oCQaZTNRVgE4Jpjo4Ky8bJ04KDnImQss8/8vo53I 2EFaBb+87+w1eil19beimESM609K2uGfpJYEyInT8O5cYzdOXtdH70yivyVFktsNROve nJ4w== 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=hh8Sis2TNcy3RrIqaUfnzdOOctfRhIFo81YC34Y5OjU=; b=VADT7FuZ48tKOKMOizcqUXtU3E6Q7Hu35powBVLZSwEwp5Rn66FWT46Set9j56kOYp RsVRHyXYMgBlgddU2wmL34IRePGeHIInVYCrH4mEgLC7+d+Ptw/VpOMhAmGaghcBTZXk AycdpME/8ZGmzd9A4KqBYO+1HdNouhL3lWSWp1RQVYhOtOQY8a2Ql8D1Yyf6BnkGRZcG gcdVh+klgc4d/cS4qE/20Pp11Q+FGwZcLuOsDiJkJHFWcajeOn2CGsrirMDlffsVYLGq XJcMd7Vkiy7ob0wVjSDNpVkYD/i2wds0UKUIbIS3f9aUp3CoRJMzToQyPft/baLsDQqT +fWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=RVCnQZkn; 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 a14si3547373pjo.40.2019.07.03.19.42.40; Wed, 03 Jul 2019 19:42:57 -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=RVCnQZkn; 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 S1727188AbfGDCmT (ORCPT + 99 others); Wed, 3 Jul 2019 22:42:19 -0400 Received: from mail-eopbgr70054.outbound.protection.outlook.com ([40.107.7.54]:6071 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726964AbfGDCmT (ORCPT ); Wed, 3 Jul 2019 22:42:19 -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=hh8Sis2TNcy3RrIqaUfnzdOOctfRhIFo81YC34Y5OjU=; b=RVCnQZknKik6qY2ruRmvOjLwZYCoXtwgSg4UlBAnFId2xlhOPP3WZ8PoddPTgwrO4r1ncBSnY8MTj2xNeAwgGy0s3fL2ljiWSaUAsES+MjzzjvEvU2vMEdCtUV+vxHTwDDaY9OgDrSGwJV+tVrjcFbfJbZNSZsZzLri25gjewpw= Received: from DB8PR04MB6747.eurprd04.prod.outlook.com (20.179.250.159) by DB8PR04MB6777.eurprd04.prod.outlook.com (52.133.243.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.18; Thu, 4 Jul 2019 02:41:54 +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 02:41:54 +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: AQHU8Qqsskjg5i2JJUOtSWDylHX9tqa5gMeAgADAr2A= Date: Thu, 4 Jul 2019 02:41:54 +0000 Message-ID: References: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> <20190412083635.33626-3-Zhiqiang.Hou@nxp.com> <20190703151021.GC26804@e121166-lin.cambridge.arm.com> In-Reply-To: <20190703151021.GC26804@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: 706edb59-e000-4b9e-d6fc-08d700292d35 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:DB8PR04MB6777; x-ms-traffictypediagnostic: DB8PR04MB6777: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0088C92887 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(366004)(346002)(136003)(39860400002)(376002)(13464003)(189003)(199004)(25786009)(476003)(5660300002)(11346002)(6116002)(52536014)(486006)(4326008)(30864003)(3846002)(66946007)(73956011)(76116006)(446003)(7696005)(66476007)(66556008)(64756008)(7416002)(53946003)(55016002)(33656002)(9686003)(99286004)(186003)(66446008)(6246003)(26005)(6506007)(53546011)(102836004)(2906002)(54906003)(478600001)(71200400001)(71190400001)(53936002)(229853002)(316002)(6436002)(6916009)(8936002)(14454004)(66066001)(256004)(14444005)(68736007)(81166006)(8676002)(86362001)(74316002)(81156014)(305945005)(7736002)(76176011)(579004);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR04MB6777;H:DB8PR04MB6747.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: Uw3zu4xR8DkIpwLQtyWRxq3hQikaR+J5IXaei2IJMZGzNrATpyK+tvbu8h14orkfB/5h3FVCDstNu8kPXPALnnXT37jodKOBMwaBRc5TY9Rajo6BFzha/XcefK039VgGJD8kyT/7ec7gGDR0erVXum6qmnWq2Xxz2Tt/IznU7kApuq7G2ILAoZWrx3ckE06T62e2Hn0UXzMH5oMtb3BxD6ahy4iUkmPt36snk+4YyQ66D0NQuKNZ+uggfQIKuSEz+G9ig66k793cqL9EmL3L3U2Yr7Xh2h9y+hRKio6H2GNIezkalLCxaH63WbJ39a9scyxZiMqjupnqlAXdT988KklUc049yCXchzfB9a+f1Fx7u6fx/1GpBNKRFFvPusj7eTLl58nTfpBMXwEVk79jr94mSSI5MFn/SLhOOEpTHGE= 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: 706edb59-e000-4b9e-d6fc-08d700292d35 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2019 02:41:54.6777 (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: DB8PR04MB6777 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTG9yZW56bywNCg0KVGhhbmtzIGZvciB5b3VyIGNvbW1lbnRzIQ0KDQo+IC0tLS0tT3JpZ2lu YWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IExvcmVuem8gUGllcmFsaXNpIDxsb3JlbnpvLnBpZXJh bGlzaUBhcm0uY29tPg0KPiBTZW50OiAyMDE5xOo31MIzyNUgMjM6MTANCj4gVG86IFoucS4gSG91 IDx6aGlxaWFuZy5ob3VAbnhwLmNvbT4NCj4gQ2M6IGxpbnV4LXBjaUB2Z2VyLmtlcm5lbC5vcmc7 IGxpbnV4LWFybS1rZXJuZWxAbGlzdHMuaW5mcmFkZWFkLm9yZzsNCj4gZGV2aWNldHJlZUB2Z2Vy Lmtlcm5lbC5v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