Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4539772yba; Tue, 9 Apr 2019 22:52:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEd5ennYKaTKAOtrL7XqNh4pWlxuJuvIxnXDVqvLKIOD8LfY18GiJvzQmYfX02ZVlH2PXA X-Received: by 2002:aa7:8b4c:: with SMTP id i12mr34922550pfd.189.1554875522410; Tue, 09 Apr 2019 22:52:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554875522; cv=none; d=google.com; s=arc-20160816; b=Fdzz+KwpiZYHsaCKxZrAlqaALrEcsHpxXqoU/cVeqVmPztGAKmWvAAeE0F0qNn6PXp /C2D0q5Obq0IPGNqLmBoaU9CKm1HckPiL1q6EpzpmqilTFUSHw2Eglv1cK8ZZOJR65if 0q3RqhwzuwZiZE+wYi55hoAHTXj4Q3XzSS4/SRHuOqFsgpqDi6QzgviVXAJg3x8J3w4l Tj5pl2grkHzK2VNh8iVJK6LveR3lraPdpbPmg/Z0VKHgEO6xu3WVtkGhddeaykG+Qmcv z9RHih1Kk/PeZtOz3t6p6bofZIw17O2f78RhTe861kYAbRcWWae4CuRwd0WFsNy4Gm8S Q/RQ== 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=BVkbYz/KxAuUm7RA37cXaKC78pHE+r80bqwW+aYkd+o=; b=NFqV+bKgwQJQEjI2efMqy/0Of2YLd+eRZPYzBTxTglzYbosEv3J7g/mdWd7KawyhQH cLwQz3OGEngfbGJ2Jg4WcsIthQiu71Wu4RTa0Ll/E1M9OsTL6s9dhkbuxlkS52hHadfb vlRxcOUf/8xCOXFYveouuESwcQ46DuuvFHmQjcWLGxI4NtQgH0J/QESD1PeefdJTTKXU x7TOUAJKUQFUO6+OpJo+y8yrCDcFGmHrdQMrPkQRRmfbmrhkbhnSFFQT/mx5ZCwXsTma VFKxp6oKcogbLsC0TeVcwGystY9mdBG03sw5BsNTEFnz595SqkVxScqDnEByk4KVVthO VP6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=a0Gq4Tgv; 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 y6si31292316plp.201.2019.04.09.22.51.46; Tue, 09 Apr 2019 22:52:02 -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=a0Gq4Tgv; 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 S1727316AbfDJFbG (ORCPT + 99 others); Wed, 10 Apr 2019 01:31:06 -0400 Received: from mail-eopbgr680075.outbound.protection.outlook.com ([40.107.68.75]:40883 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725976AbfDJFbG (ORCPT ); Wed, 10 Apr 2019 01:31:06 -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=BVkbYz/KxAuUm7RA37cXaKC78pHE+r80bqwW+aYkd+o=; b=a0Gq4TgveKmet0CE26260JjpejzrcxYG7fsg8kjSQgD20g1IMwDNmvOr+R6+njunX7ByAuQgpDNkwiigvHZ9BJ3dDRJkMCSVTMP+AKNTHEjm3sh1erBH6wpdRv3YDwDc7rvTVJ7xz3lN3Wh2OrVe82+weaijA99/lZ+6PBKkYik= Received: from MWHPR02MB2623.namprd02.prod.outlook.com (10.168.206.9) by MWHPR02MB3216.namprd02.prod.outlook.com (10.164.133.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.21; Wed, 10 Apr 2019 05:31:01 +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:31:01 +0000 From: Naga Sureshkumar Relli To: Naga Sureshkumar Relli , 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: AQHU7hkPUMzsjr5B2kO6vbCHNEpRsqY0BtWAgAC5RYCAABiTUIAAB/0w Date: Wed, 10 Apr 2019 05:31:00 +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: d95594d3-5c02-4d1d-9e2c-08d6bd75b7b3 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:MWHPR02MB3216; x-ms-traffictypediagnostic: MWHPR02MB3216: x-microsoft-antispam-prvs: x-forefront-prvs: 00032065B2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(396003)(366004)(346002)(136003)(376002)(189003)(199004)(13464003)(102836004)(52536014)(97736004)(53546011)(66066001)(2501003)(25786009)(2940100002)(7736002)(55016002)(26005)(74316002)(86362001)(93156006)(478600001)(256004)(14454004)(6506007)(9686003)(305945005)(3846002)(186003)(68736007)(316002)(14444005)(93886005)(8676002)(81166006)(33656002)(81156014)(11346002)(486006)(76176011)(6116002)(446003)(476003)(105586002)(6436002)(2906002)(106356001)(110136005)(229853002)(99286004)(6246003)(8936002)(71190400001)(71200400001)(5660300002)(54906003)(53936002)(7696005)(4326008);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR02MB3216;H:MWHPR02MB2623.namprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: E2hcxnRN26/cd1DAHekzRV6VUY/2eLTtAVCKlhBP0ZMogc49jum6ihdrnOtneFAu536X6DrSdkaApmS3mlt74DpJzSmQ6A4of7ndNsOAxBatWW00hL1rs1qLqmJwwZLrdCbV2uTvY9hAZM7qevAZgc0EQ76RKX+JTQzlNQ0yM2m3/LQIFP0IyqY4yMPjosyPY1CBk+hk6ocjY0MHej4/4bkU8kG4Fej/VZz8bA9qw7fl7cOoGQxv2wq8LiEHN04B5kXb9RZ5kAu/x7uIXXqRdEjM1/9/4rWbMbBe6wF2NVB0tZ9y7qp9sXYT9FvNPV1DN8WdbZN5gR751DxCaw4tKcdUU8l3vUJSQK7aS+NtlgpHVlCxA4NV7j7EzYmbliyM4LXYaiO6W2ZoAKqIb7tHbE1A+x+q+qdkj+14y1l/XpM= 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: d95594d3-5c02-4d1d-9e2c-08d6bd75b7b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2019 05:31:00.9138 (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: MWHPR02MB3216 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgVmlnbmVzaCwNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBsaW51 eC1zcGktb3duZXJAdmdlci5rZXJuZWwub3JnIDxsaW51eC1zcGktb3duZXJAdmdlci5rZXJuZWwu b3JnPiBPbiBCZWhhbGYgT2YNCj4gTmFnYSBTdXJlc2hrdW1hciBSZWxsaQ0KPiBTZW50OiBXZWRu ZXNkYXksIEFwcmlsIDEwLCAyMDE5IDEwOjUzIEFNDQo+IFRvOiBZdWVIYWliaW5nIDx5dWVoYWli aW5nQGh1YXdlaS5jb20+OyBWaWduZXNoIFJhZ2hhdmVuZHJhIDx2aWduZXNockB0aS5jb20+Ow0K PiBicm9vbmllQGtlcm5lbC5vcmcNCj4gQ2M6IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc7 IGxpbnV4LXNwaUB2Z2VyLmtlcm5lbC5vcmcNCj4gU3ViamVjdDogUkU6IFtQQVRDSF0gc3BpOiBz cGktbWVtOiBGaXggYnVpbGQgZXJyb3Igd2l0aG91dCBDT05GSUdfU1BJX01FTQ0KPiANCj4gSGkg VmlnbmVzaCwNCj4gDQo+ID4gLS0tLS1PcmlnaW5hbCBNZX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