Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1284466imu; Wed, 28 Nov 2018 07:21:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/W/eNUJhV0uEAyElq+XgYxz9zLLnwGi4ejF3fA3wxc2Yjg50WzbiSDLAZUd+NlPTgmX0ZT7 X-Received: by 2002:a62:6b85:: with SMTP id g127mr10759376pfc.42.1543418507193; Wed, 28 Nov 2018 07:21:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543418507; cv=none; d=google.com; s=arc-20160816; b=lqtyYBfLffE3As1CfC8UzzstnSDFGOl+QaP6JfJoWa+1H2lLSvz0AcnXT7YKRDHY34 CvqqJVin9YfNlzu7d8d1Aj4gGgz8Gm+4u7A0eVWaUYJGTNCTU+Qi0XVLFQvFRlohpaVD /6AQcMmidpZvN78CrikPbYM0UicNEVGqAcF7XsT9OvEhtQWppv7lpGgz3Sxa3QymsU4d mqRcSq+26/o/gVspiKanAIz+YUGsCGku3/Shf/Ce3mlUYjiJBgaeuHicZ8eaSj+HalpT hcjL2rW2eZapUCjCWqDhlUUdZSzcZHVn4nR1Afl55A+eNXCebI1t7Ol9eqOcSRO/ODYR qCPQ== 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=XKXqQBKIQ7advjPtS7xigi+C7joyNEG3/3HSsm2BWm8=; b=uFF16YQzHDzZTGGJfzw2bOmZSpxr7bRNs4SVD5y+n1Nro4MGAS7BlFzgY5MvghipkM //mgAuamYcKn6v4n10rqp//S1nPO3fj09o4+xe4UbzqT64onPISSrabKn6viIpPxID0E +drnI9+mMvC4eI5FSbWO6wJXzBi/oS2pSVUoGoxiMZ00Adiv5I9m1vF+eHV+S577NFhW WHKEB0MR/gNNJDEGBR+0iQdAt55Yrpgy3KVum9lBAgyflAfQzIXhICD0idd3tnZ7C9AB ysbhfDjcNpCcJCXZPlkiMKW5JMFUUhgPKB+CQWPDU5MTYMn5QNW1crTgIHM7obiV6VCM g3CA== 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 b6si7685410pgm.216.2018.11.28.07.21.20; Wed, 28 Nov 2018 07:21:47 -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 S1728787AbeK2CVj (ORCPT + 99 others); Wed, 28 Nov 2018 21:21:39 -0500 Received: from skedge03.snt-world.com ([91.208.41.68]:32988 "EHLO skedge03.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727726AbeK2CVj (ORCPT ); Wed, 28 Nov 2018 21:21:39 -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 9A0A867A7D5; Wed, 28 Nov 2018 16:19:37 +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, 28 Nov 2018 16:19:37 +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, 28 Nov 2018 16:19:37 +0100 From: Schrempf Frieder To: Boris Brezillon CC: Miquel Raynal , Richard Weinberger , "stable@vger.kernel.org" , "David Woodhouse" , Brian Norris , Marek Vasut , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] mtd: nand: Fix memory allocation in nanddev_bbt_init() Thread-Topic: [PATCH] mtd: nand: Fix memory allocation in nanddev_bbt_init() Thread-Index: AQHUhiUV+bbi1IymHUOKrtHQUP0AvaVlM7kAgAAEGQCAAAHSgIAABNkA Date: Wed, 28 Nov 2018 15:19:37 +0000 Message-ID: References: <1543304637-27308-1-git-send-email-frieder.schrempf@kontron.de> <20181128154104.577d5923@bbrezillon> <7634bb45-6167-31e8-e169-b5c9bf7e2fc5@kontron.de> <20181128160215.45e5162e@bbrezillon> In-Reply-To: <20181128160215.45e5162e@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: <964C622D6325BB4F83509DC02A69A437@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: 9A0A867A7D5.AFC78 X-SnT-MailScanner: Found to be clean X-SnT-MailScanner-SpamCheck: X-SnT-MailScanner-From: frieder.schrempf@kontron.de X-SnT-MailScanner-To: boris.brezillon@bootlin.com, computersforpeace@gmail.com, dwmw2@infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, marek.vasut@gmail.com, miquel.raynal@bootlin.com, richard@nod.at, stable@vger.kernel.org X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMjguMTEuMTggMTY6MDIsIEJvcmlzIEJyZXppb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