Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5769955imu; Mon, 26 Nov 2018 05:06:50 -0800 (PST) X-Google-Smtp-Source: AJdET5f83yQpKWvkQcx0Ie4jAhq0XwofHzRVZBfsXcez0DRbIAvdd7goWoSPbpqhe8P3qni+sHaj X-Received: by 2002:a62:1c06:: with SMTP id c6mr27327848pfc.157.1543237610630; Mon, 26 Nov 2018 05:06:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543237610; cv=none; d=google.com; s=arc-20160816; b=t+JYcQiV6atr5Hw9uFLCW84xvMlQSPtKo3Kp4HI4mCj8Ga6ah1dio3gThBsklCzCxt PR/QMKBDqNFqvZUZfOlx6jpOScFUt2OuVpZRmanQJToKCP/B4LtcqvTTfSe9yZJ3bitP oQ8WglaUWIY5zggRRNAvdH2F9pCtqnuRMHgnmJz03Df5gqcxxul1lG3brjWq3xXzHq0S 2JbnomcobFfc+ex82krhwLxfSAjFbmFEaykTBSJTY9obUiVe6dbtqgcJ9qmCQwcWkwcq L8fy6Vq5M21Gj2dtLOAV6A9qh9tRIwl0kaZMjNB9jEPoxnBOatebflSfu2WBR4casFWf KfkA== 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-id:spamdiagnosticmetadata:spamdiagnosticoutput:user-agent :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=JHlQvXHYUwapRfC8CVUdt43byVynh4VI7uEVpmXpYQE=; b=AsRF3FpnX0O0RgsypXwupChaetjVSUKBOCaFOQh2eQ+WnwK4AG6F3DgdQL3MX4CAzN MXRR6ALLrRtBbkycO2WB2g2Z55CxdHyvGaVl5ESmH2ARjFiDQJ2OJQukGK1NM80vc/H/ m6bWPS8oxVpsI5hko9k25HfVZCJdaWZvC+ntorI2kboYiiuNLa4q5gRIkzQXoacxMxzN wrlNNgThxB9eM0G7bPZ4K8TKqa0wKYf+1ftRGcp1zwIwY69VLzfXCMdMACMQL0upYg7t VJn38Npm4k+m4wQ76+49FI71hNQK/KbMS0pZ1s2E0XO7GVAmeQ2JmTKFF22NQ/yzWhIG CALw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nokia.onmicrosoft.com header.s=selector1-nokia-com header.b=Ev6n9OC7; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nokia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u11si330864plm.8.2018.11.26.05.06.25; Mon, 26 Nov 2018 05:06:50 -0800 (PST) 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=@nokia.onmicrosoft.com header.s=selector1-nokia-com header.b=Ev6n9OC7; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nokia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726989AbeKZX7L (ORCPT + 99 others); Mon, 26 Nov 2018 18:59:11 -0500 Received: from mail-eopbgr60120.outbound.protection.outlook.com ([40.107.6.120]:60544 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726411AbeKZX7L (ORCPT ); Mon, 26 Nov 2018 18:59:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JHlQvXHYUwapRfC8CVUdt43byVynh4VI7uEVpmXpYQE=; b=Ev6n9OC7wXDLOUc5Uxlblk7OfFrdXOfiuwKsbdNV5koMbsLw31KUSxuNeFs5gvoUlTsy4t93GnN6N6/jnfLUNzE5yZ8HD5V0ImQ67pROQA75MIzDe21Gga8eh2mN9n9bkQpHHBXdVkWDw1ASmWvoDk6WNbTuimaM0MBo5kDjYOY= Received: from HE1PR0701MB2729.eurprd07.prod.outlook.com (10.168.188.135) by HE1PR0701MB2745.eurprd07.prod.outlook.com (10.168.188.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.14; Mon, 26 Nov 2018 13:04:45 +0000 Received: from HE1PR0701MB2729.eurprd07.prod.outlook.com ([fe80::35b1:90ba:fa:3c77]) by HE1PR0701MB2729.eurprd07.prod.outlook.com ([fe80::35b1:90ba:fa:3c77%9]) with mapi id 15.20.1361.019; Mon, 26 Nov 2018 13:04:45 +0000 From: "Sverdlin, Alexander (Nokia - DE/Ulm)" To: "Tudor.Ambarus@microchip.com" , "marek.vasut@gmail.com" , "dwmw2@infradead.org" , "computersforpeace@gmail.com" , "boris.brezillon@bootlin.com" , "richard@nod.at" CC: "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] mtd: spi-nor: fix erase_type array to indicate current map conf Thread-Topic: [PATCH v2] mtd: spi-nor: fix erase_type array to indicate current map conf Thread-Index: AQHUhYXyqNwBRhXCWUmPjriIVe6LZ6ViBiQA Date: Mon, 26 Nov 2018 13:04:45 +0000 Message-ID: <2ae2459e-f5e7-f621-fd63-0982a1e59e86@nokia.com> References: <20181126124531.17548-1-tudor.ambarus@microchip.com> In-Reply-To: <20181126124531.17548-1-tudor.ambarus@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [131.228.32.165] user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 x-clientproxiedby: HE1PR05CA0309.eurprd05.prod.outlook.com (2603:10a6:7:93::40) To HE1PR0701MB2729.eurprd07.prod.outlook.com (2603:10a6:3:99::7) authentication-results: spf=none (sender IP is ) smtp.mailfrom=alexander.sverdlin@nokia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HE1PR0701MB2745;6:G53Aoe69gx/qt/nNbR60/UBl1AvImaSiLd5W86TCJwY+XKj4ERsF3LVe+zNF+k6Uq48qZF3EAl3ooammPLsQVkE9ct4SrakGDOt+DvAIWy6TpCJ7KNAnWjHRkbmtmIZdeFig1We396oaVPTRlnCvTRnj2jvOMgSD0et5NdT1lLTjbLkF5wGsKINusVHKhItfr+OVEJH0i9CUUVc7r1xPVcideWiahqmjB86zg8u0zY9ilLlEMMVbozYoMkUeHPeYdl7ECutYkhU8kFPBvi+pzGwqt5Da4P9xHDzhaYSnHtjZWB6Mbf4xIWhyIuOntcBx3HjUd53TZXpEMq/Jy5Y1Zwv+TCobOazFKco2QqZ4KYp+ZxqCVuNgPGdO3J0ES1iWaQIyVNNYSheuDUv2wXjMVa1Rk3w2IsBbqieozUiDgubGIYjgGghfrXyin+Gu3Rnvdroidpq4kwVC+mVS3Sqn9Q==;5:9CttrPYOvyDTp1ghef3qwWIOxi9CbRBvgSDCt0aIvRfjNSY7l9nE8MwbAxvR3Gwql2VxemmqcD8Weo7CArbm73IBUcgj3SKOP4UA8Inr8NEZhKwIo763TXYsydt29+Qt+ktvwAjpxoiQu2pxEwITaEjy3RR7aQxDQcxGwjKjWz4=;7:jJsfE6lljMO3oY0ksVzXSNiTV6cuZ+LyVZoNWPK07t7e+CaoL768UXq1PDHq7PIdLVXahEe6nwCJafE/ZzOgX3pG17IKc+qaswP49tWFP/tkUqa0gZGQDj8EPj/17IVj7gT9Fl+Nj7JrY4b7EZ7BHw== x-ms-office365-filtering-correlation-id: df0bc8ec-a37d-4124-8be1-08d6539fbcec x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:HE1PR0701MB2745; x-ms-traffictypediagnostic: HE1PR0701MB2745: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231443)(11241501185)(806100)(944501410)(52105112)(10201501046)(3002001)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051)(76991095);SRVR:HE1PR0701MB2745;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0701MB2745; x-forefront-prvs: 086831DFB4 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(346002)(376002)(136003)(366004)(396003)(189003)(199004)(54906003)(6116002)(3846002)(486006)(8676002)(8936002)(2906002)(81166006)(6436002)(81156014)(2616005)(14444005)(58126008)(110136005)(256004)(4326008)(476003)(26005)(6486002)(39060400002)(68736007)(305945005)(7736002)(316002)(11346002)(31696002)(71200400001)(71190400001)(86362001)(2201001)(186003)(446003)(64126003)(65826007)(229853002)(53546011)(106356001)(105586002)(6512007)(99286004)(14454004)(5660300001)(6506007)(386003)(66066001)(25786009)(97736004)(76176011)(65806001)(65956001)(2501003)(52116002)(478600001)(6246003)(36756003)(31686004)(102836004)(53936002);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1PR0701MB2745;H:HE1PR0701MB2729.eurprd07.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: mWQyM4bm6mgj/ib0iURrbx+aPhb3Sf3KPAi/RGBTLevZ/ae2WdtSymmFKaxRkdCxOQcEHcoB03XeNAbNF/gpNn9X4l4u/s9Xuw0sjqUOSscKRLoKYj8DhD6RPNF9WCT/2K1J5eGr08QWXQ6qd9gtllaPRlR60QD+U7QrCYC/B8pKYLCZNOkrQ/xNOOMwGfJl6BvFYzrlIUdK61DcM6IoYtiv9sRI929GPrTtj+wyUP/s3SgcYBwgnQghBzEejwNWlv/QffYs32gX0IWMh7qvmKP4hHdQUgY4i+3+oq9NfhUtedHsAqQ0pPLVnCFw7TWItdM1SRoPf2trw7TjZBfPbwpIMeURJgXQcVhuZz+mABU= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <14E00832EAE7C5418B18E5F1080ED6D7@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-Network-Message-Id: df0bc8ec-a37d-4124-8be1-08d6539fbcec X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2018 13:04:45.8952 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2745 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGVsbG8gVHVkb3IgYW5kIGFsbCwNCg0KT24gMjYvMTEvMjAxOCAxMzo0NSwgVHVkb3IuQW1iYXJ1 c0BtaWNyb2NoaXAuY29tIHdyb3RlOg0KPiBGcm9tOiBUdWRvciBBbWJhcnVzIDx0dWRvci5hbWJh cnVzQG1pY3JvY2hpcC5jb20+DQo+IA0KPiBCRlBUIGFkdmVydGlzZXMgYWxsIHRoZSBlcmFzZSB0 eXBlcyBzdXBwb3J0ZWQgYnkgYWxsIHRoZSBwb3NzaWJsZQ0KPiBtYXAgY29uZm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