Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp460284img; Thu, 21 Mar 2019 01:48:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCv9p6RLfQj7Q0nMNmUfV6mKeQ4Y1ov0dxajnTB4X9O18ZJtERRXwiBIJaVgAzWJcvO5ja X-Received: by 2002:a63:5c43:: with SMTP id n3mr2234820pgm.163.1553158129094; Thu, 21 Mar 2019 01:48:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553158129; cv=none; d=google.com; s=arc-20160816; b=WPWhxHiQ90DVoR3DANAZTLvnJ3qJMHTh47I2vOCB6FunyQU1A1DigZHuABuuNs0ana 4XfxAe9wfZZQ/alrM/qiJvXmc5EIByHuJNsrOioL2m9bd2+BMMII1s9R2dS2ZiJl0jO3 Wqh0bLtRY9QFKZkeedzvGs6TGJGtJGYkYHNS2pA+X6Atak7YujsERA7zDSaTqs/Kobu8 +8YyoKEkD+DPbOXzkG2wlAx2r0VI3BEVWP7GGzVrEOGFh8MTaODC04d+ETUU0bwzeMkB KEQaIludo7leCPK3MIxau+3nLbxqd+4PLexB27E2SFFL0mhnbztlHydmq7OCAHNbYH4b 0u1w== 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:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=OP9voy4ngH+eS2OU/bF9aTYKkE792a1A9YavT7IHBv8=; b=hVoN/LujmnYCzox0H6v5FpsXZZRVZ3fgs1w/Kl8aFUV8c2RIV8+8tfFoXfgGFPhGS6 KiaUB0w261VzWmLs+g2gCyhVxJLpMqsbD6FLPvc+dTP7NBn6zlmalWVrmge/j3AHjHRq H20lnijjJcjsk8SHdTUucQzPWbZ9l2EiGw38nwAc1jc9YOWdOXciJtcuhznfj8weDvtU Z9cb0556Pb+ude6Ex/Xoz2nkBJglb3qoV3dRWI4yqe7dCeupdDIatMkCsrMdCIQxAE0g QH8FutinwMKjxiVTS+oxP5BnJiZmwIUNOqFdXPBT+YmXSdRi2t2GqhxTv3hWSmQ+YiHS uMSA== ARC-Authentication-Results: i=1; mx.google.com; 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 i5si3814165pgq.233.2019.03.21.01.48.32; Thu, 21 Mar 2019 01:48:49 -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; 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 S1727977AbfCUIr5 (ORCPT + 99 others); Thu, 21 Mar 2019 04:47:57 -0400 Received: from skedge04.snt-world.com ([91.208.41.69]:32914 "EHLO skedge04.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727841AbfCUIr5 (ORCPT ); Thu, 21 Mar 2019 04:47:57 -0400 Received: from sntmail14r.snt-is.com (unknown [10.203.32.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by skedge04.snt-world.com (Postfix) with ESMTPS id A6DD967A90E; Thu, 21 Mar 2019 09:47:53 +0100 (CET) Received: from sntmail12r.snt-is.com (10.203.32.182) by sntmail14r.snt-is.com (10.203.32.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 21 Mar 2019 09:47:53 +0100 Received: from sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305]) by sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305%3]) with mapi id 15.01.1713.004; Thu, 21 Mar 2019 09:47:53 +0100 From: Schrempf Frieder To: Miquel Raynal CC: "bbrezillon@kernel.org" , "richard@nod.at" , Kyungmin Park , David Woodhouse , Brian Norris , "Marek Vasut" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v4 2/7] mtd: onenand: Store bad block marker position in chip struct Thread-Topic: [PATCH v4 2/7] mtd: onenand: Store bad block marker position in chip struct Thread-Index: AQHUx3asBl+PaSojc0CFv8B5tA994qX7UtGAgBqTBwA= Date: Thu, 21 Mar 2019 08:47:52 +0000 Message-ID: <71f425a5-4028-1a8a-26db-b4b0860326dc@kontron.de> References: <20190218104122.18788-1-frieder.schrempf@kontron.de> <20190218104122.18788-3-frieder.schrempf@kontron.de> <20190304115853.35216632@xps13> In-Reply-To: <20190304115853.35216632@xps13> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.9.43] x-c2processedorg: 51b406b7-48a2-4d03-b652-521f56ac89f3 Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-SnT-MailScanner-Information: Please contact the ISP for more information X-SnT-MailScanner-ID: A6DD967A90E.A0A26 X-SnT-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-SnT-MailScanner-SpamCheck: X-SnT-MailScanner-From: frieder.schrempf@kontron.de X-SnT-MailScanner-To: bbrezillon@kernel.org, computersforpeace@gmail.com, dwmw2@infradead.org, kyungmin.park@samsung.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, marek.vasut@gmail.com, miquel.raynal@bootlin.com, richard@nod.at X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMDQuMDMuMTkgMTE6NTgsIE1pcXVlbCBSYXluYWwgd3JvdGU6DQo+IEhpIEZyaW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