Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5903877imu; Wed, 30 Jan 2019 05:38:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN7xxS7LKTkxJO/VMnnjVYiILGaKKDLQxDZEAzO3/iTpyPlugO1WocHwgNyKuGcUGYyTcP04 X-Received: by 2002:a63:a112:: with SMTP id b18mr27780369pgf.440.1548855531978; Wed, 30 Jan 2019 05:38:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548855531; cv=none; d=google.com; s=arc-20160816; b=eI50YsrOqyKSm3kb9IN9h82sGYTYWQLxquZAOJaIjQhUEtHWMbZS8Wm6ztGy8EtUie gPDjYtZV/vVlny8OGhg45JlTi7gSO6qQ8FSurNi8okaz3CpFkaNr2TX1q7IwmCZgVfZM qdFF9E1ibY8r1euuXOGY/c4jIHD9VOYeV3iF/zyPmEauUEuORHuwg2q9HyO7S1Dtj9tM hUrvo9lv45bDpIeC+7+5S+NNSsyUEm0M+pZeTNPPu5OY+vcU5O3oB2EioQppP5Rxq9ey CuVyq7s0y/UNWDx1L340FNARZ8tVBYaxVWYa70oias4rL9DF4P7NNKu+cV7JJCZWqCmS z2fQ== 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=U7UElASoKeqr5JWnPxtDLQm7tgw3nT0XTyCqn/DVL8g=; b=sLnLpHP5MYj/AozgWc3lDo/IohTCcPAw2rC47G67/FEr9zbo4rD9LPDfkw/vgzUcWR 6b78KGoahjxuAKvS5x6xs9Hcc0kpsBz8o9odBYz0G22o70PVNTEO9ocN4/oVNPnevj5I wyZdbUbA0sQPSTO8EjoGNP4LqNXq9CfLG/pnlJAxN0Vpz+kbF2cL4bP+mUC5zS486INr kZYfGJ4auDbe1Jec86r2BbHn09vwT0T9+j4naR/tKygR5IULzUe7Kthepo64933FJDKm /yrHCbmk209RzS7l/yR2FbgiPWpd1sA+F4eKC0MdZYYPgRYHYnmCZujpHjf1/0H4+BxZ X5og== 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 j132si1563274pfc.84.2019.01.30.05.38.36; Wed, 30 Jan 2019 05:38:51 -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; 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 S1730966AbfA3NiG (ORCPT + 99 others); Wed, 30 Jan 2019 08:38:06 -0500 Received: from skedge03.snt-world.com ([91.208.41.68]:53666 "EHLO skedge03.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725768AbfA3NiF (ORCPT ); Wed, 30 Jan 2019 08:38:05 -0500 Received: from sntmail12r.snt-is.com (unknown [10.203.32.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by skedge03.snt-world.com (Postfix) with ESMTPS id 133CB67C52C; Wed, 30 Jan 2019 14:37:58 +0100 (CET) Received: from sntmail12r.snt-is.com (10.203.32.182) by sntmail12r.snt-is.com (10.203.32.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1466.3; Wed, 30 Jan 2019 14:37:57 +0100 Received: from sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305]) by sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305%5]) with mapi id 15.01.1466.003; Wed, 30 Jan 2019 14:37:57 +0100 From: Schrempf Frieder To: Boris Brezillon CC: "miquel.raynal@bootlin.com" , "richard@nod.at" , Kyungmin Park , David Woodhouse , Brian Norris , "Marek Vasut" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v3 1/5] mtd: nand: Always store info about bad block markers in chip struct Thread-Topic: [PATCH v3 1/5] mtd: nand: Always store info about bad block markers in chip struct Thread-Index: AQHUuJvz9LZKjU9NdkCgOImqm/qQ2KXHvW4AgAACm4A= Date: Wed, 30 Jan 2019 13:37:57 +0000 Message-ID: <872cfbb0-f0dd-df25-4835-bb0cca3044cc@kontron.de> References: <20190130130111.32724-1-frieder.schrempf@kontron.de> <20190130130111.32724-2-frieder.schrempf@kontron.de> <20190130142838.5590f8b4@bbrezillon> In-Reply-To: <20190130142838.5590f8b4@bbrezillon> 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: <7F7DB32BBC5F1B4DA87C94FDFF663BA5@snt-world.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-SnT-MailScanner-Information: Please contact the ISP for more information X-SnT-MailScanner-ID: 133CB67C52C.A3712 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 SGkgQm9yaXMsDQoNClRoYW5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