Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4538113yba; Tue, 9 Apr 2019 22:48:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXjqex6kzmPiQmOxyY+8uKnOQ9gWk31TWo1R81/ESmor9Z5ak3EiabonmCbpG3k8aewAlP X-Received: by 2002:a17:902:7c01:: with SMTP id x1mr16081030pll.299.1554875331796; Tue, 09 Apr 2019 22:48:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554875331; cv=none; d=google.com; s=arc-20160816; b=yI9Td7WuJBTKH/MfrMAf9e+90kEdeVToRLPytsqBwZ9DPHH0ags/augpRsfNLD80HH Pkhd5VlKqzCoRyAoDni2+LDZUOfBNCt/4iPTZDROJBklBUugpIzQj65aIclK7QtLtT/A Cc191uOyBvI/XZHJ38knfkTo3MV12WDaijK+ME28LfJ9XLanLnCyYH3pjv2HQWOMI1Am Z10vvpUBaZl1ooJ/TwCSPEfKJfMAVAYtXxqug588Z5y7BwC/mKQcrHqUodcEe9rd4eXE OqjacxvSQS9HQbkvu9SVoUY8WDrVGaqD1EIKXxyGVhiVgi8KZG8MSCfSKIL9NKelYjF2 lTfg== 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=PC0a5O9TnFFDcbTDWRr/QWR/76kDVUp0T7zGRjIVXMU=; b=OPVxuu3tOjxj13+kjNVh61DWlAnL+IxI2H1cfZWCRiEBU3LMWW3V87YCzWOUt95ORQ pARWlIpvWfkilG1p3XxQ4/q5m6ZMuxkiP9t2B8lC2IWMAK/ldTmH+NL0gDNuIx+CMxb2 g+vNj9DYySO3xwgJKzuXb1+GV1p3cUvFAVSNIRKp9a3iF3ZvHUC2ovADgzmJReZjOKgf DCYrRA6YVPfvqsGFYoZtIdC7kOfasaoBmLd9oGxh7jbcZFbzkbPz4xO/VHSxQteQuen8 W9o+kxy0hz1uhV9ESMn750FTELwcfmtmkUe7FUUFn6oD+BYOYcAewf7oi+hXLXv/Ex+S ocxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=SIVDI+TN; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j187si14369680pfc.181.2019.04.09.22.48.35; Tue, 09 Apr 2019 22:48:51 -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=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=SIVDI+TN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726838AbfDJFXN (ORCPT + 99 others); Wed, 10 Apr 2019 01:23:13 -0400 Received: from mail-eopbgr690079.outbound.protection.outlook.com ([40.107.69.79]:53366 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725818AbfDJFXN (ORCPT ); Wed, 10 Apr 2019 01:23:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PC0a5O9TnFFDcbTDWRr/QWR/76kDVUp0T7zGRjIVXMU=; b=SIVDI+TNNRVyjHgE5C0T7kiJhXdJ2zRABs8aegeaROlRJb+3nt/fLYzxNiUfr+OJDeF3GAlu5yQaiJJ+6Xm8tDO1AbSjbL39pozhRvidEn3xtiQxKVXRM3qFaPwwBK+q7sflWjRyLsw+Apmqg0ew4DB2L/Cu1KN/hf6sYFWoMBg= Received: from MWHPR02MB2623.namprd02.prod.outlook.com (10.168.206.9) by MWHPR02MB2415.namprd02.prod.outlook.com (10.168.244.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.14; Wed, 10 Apr 2019 05:23:09 +0000 Received: from MWHPR02MB2623.namprd02.prod.outlook.com ([fe80::905a:a5f3:8d41:431e]) by MWHPR02MB2623.namprd02.prod.outlook.com ([fe80::905a:a5f3:8d41:431e%6]) with mapi id 15.20.1792.016; Wed, 10 Apr 2019 05:23:09 +0000 From: Naga Sureshkumar Relli To: YueHaibing , Vignesh Raghavendra , "broonie@kernel.org" CC: "linux-kernel@vger.kernel.org" , "linux-spi@vger.kernel.org" Subject: RE: [PATCH] spi: spi-mem: Fix build error without CONFIG_SPI_MEM Thread-Topic: [PATCH] spi: spi-mem: Fix build error without CONFIG_SPI_MEM Thread-Index: AQHU7hkPUMzsjr5B2kO6vbCHNEpRsqY0BtWAgAC5RYCAABiTUA== Date: Wed, 10 Apr 2019 05:23:09 +0000 Message-ID: References: <20190408143949.10688-1-yuehaibing@huawei.com> <4c9cb550-e0b6-8f66-979d-ab8237e28166@ti.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=nagasure@xilinx.com; x-originating-ip: [149.199.50.133] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7ac0359f-9379-4179-3412-08d6bd749ea3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:MWHPR02MB2415; x-ms-traffictypediagnostic: MWHPR02MB2415: x-microsoft-antispam-prvs: x-forefront-prvs: 00032065B2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(136003)(39860400002)(346002)(366004)(396003)(13464003)(199004)(189003)(6246003)(7736002)(7696005)(486006)(105586002)(446003)(106356001)(66066001)(53936002)(6436002)(229853002)(305945005)(86362001)(55016002)(9686003)(476003)(186003)(33656002)(74316002)(110136005)(25786009)(54906003)(4326008)(99286004)(316002)(5660300002)(52536014)(11346002)(53546011)(14444005)(81156014)(81166006)(2501003)(478600001)(8676002)(26005)(8936002)(71200400001)(71190400001)(256004)(6116002)(3846002)(102836004)(2906002)(6506007)(14454004)(68736007)(76176011)(97736004);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR02MB2415;H:MWHPR02MB2623.namprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: xilinx.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 6bgast5QlPVuGC4q/hzfvr4F4p7G6526tNTZ6jQjjYClOIiAbrvFtIWjEYJb3isIlOKxIgWbOrZQnetPqZ7xEqK1uBWPqWj+ls5oh3rTY7aW9DIVk1ugPeOHqd7yrwnnbVPIjvfVM1UJgk/NtQyc4dW/5K4ob8DG6hWLlFif+GVIQpLcJSMBiQRzaTsJePaWX2Yme4SBVq+2xRlnBPK8XAhWf0ODDx8VRYiioDBFwCZw1J66MhzWQQpdw+1ycWGVDbfQpItANBUxBphDrlguuMwdJgGmb2zRq6azg3u1Eec9/yEqWrN3t6IK2JUe/a2ZUWhlLwYFsihQ1xmifAjV4jMfHHdlpo2RBtPust1e1aYQlo5uRcur8k28v6Xs23x34xKltJKnVwCGIbbh9p6Xk2eSZdPy+8PnYj9OcfmZpeM= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ac0359f-9379-4179-3412-08d6bd749ea3 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2019 05:23:09.3034 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR02MB2415 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgVmlnbmVzaCwNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBsaW51 eC1zcGktb3duZXJAdmdlci5rZXJuZWwub3JnIDxsaW51eC1zcGktb3duZXJAdmdlci5rZXJuZWwu b3JnPiBPbiBCZWhhbGYgT2YNCj4gWXVlSGFpYmluZw0KPiBTZW50OiBXZWRuZXNkYXksIEFwcmls IDEwLCAyMDE5IDk6MDMgQU0NCj4gVG86IFZpZ25lc2ggUmFnaGF2ZW5kcmEgPHZpZ25lc2hyQHRp LmNvbT47IGJyb29uaWVAa2VybmVsLm9yZzsgTmFnYSBTdXJlc2hrdW1hciBSZWxsaQ0KPiA8bmFn YXN1cmVAeGlsaW54LmNvbT4NCj4gQ2M6IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc7IGxp bnV4LXNwaUB2Z2VyLmtlcm5lbC5vcmcNCj4gU3ViamVjdDogUmU6IFtQQVRDSF0gc3BpOiBzcGkt bWVtOiBGaXggYnVpbGQgZXJyb3Igd2l0aG91dCBDT05GSUdfU1BJX01FTQ0KPiANCj4gT24gMjAx OS80LzEwIDA6MzAsIFZpZ25lc2ggUmFnaGF2ZW5kcmEgd3JvdGU6DQo+ID4gT24gMDgvMDQvMTkg ODowOSBQTSwgWX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