Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp426917imu; Tue, 27 Nov 2018 00:32:15 -0800 (PST) X-Google-Smtp-Source: AJdET5eYgCubsfh1f/JCw8EUQhkd5tmkxAVP3ZLdqZWMuryKSA+94nlfEypzREs/RQ/yEaymrtX0 X-Received: by 2002:a62:1212:: with SMTP id a18mr32940724pfj.217.1543307535527; Tue, 27 Nov 2018 00:32:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543307535; cv=none; d=google.com; s=arc-20160816; b=LEz45CoopZqlXtvGD3FpANIm3GUuNlYqeH48+Rh7pa1Z5ckQwg/o2NTKQjR2mcr/Nu XCuTPBeQ9ACvnfochFtFFHroe24QUfXz1fQHCZu7/HRlxmTYXSQ/5MPgKCRL0kmTlR5Y qgnvQ9uBPVQOQhis8KtMwRaVw+9uetBoHRlpCCTI92Ug/vMPfwBo0BlxJZ/SjSJqjPeH V64WiPQ4OASxu7Sjzof1b5cOj8EDf7I9mldCiRDeNiYeNT8vhnMAFm/P8DkYgg9TWmRA CHXbnVBV4Wgpa0HxKdPUWWzHTnahtwL5fTh94Ukcqo74QSZwzhYShV3q+27HqhNIzdC6 LRyw== 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=gmNVuvQMmp8bLfdrP6ixCAENlpJze9qcuB7o4tsUk6g=; b=W3LIvI0XZKjhlRNB3TR76Ff6HJueyVAfULnnbvGDBUC0PSKCaUIVwV4Clj59X8r4Vo VtDwRzlYfaWMNq6UeeBGnc9fqGlIu5e9VXzuQLqlQsiybNQF8m0yVcgDhPexJbFObPID 55eyO3D/79+Nh8PUwq+UPEF6MGhMORo5esMMxYCumti8QpN9oG5vqa02zXHcGh+6IzJ0 pSfZrZ20uJosrChoAS7TEChzfwjSHTL5tiYmXFq41iWGQigHkVy6V3Af0TDS+ZXWKvth p0+goXphwk+y9VRKS+/ciIWaYicBHNrmQnHJh0AoFq40yt7vxei+5HCBoKtHB+5zLsSk lD6A== 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 m75si3208820pga.432.2018.11.27.00.31.59; Tue, 27 Nov 2018 00:32:15 -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 S1729307AbeK0T1e (ORCPT + 99 others); Tue, 27 Nov 2018 14:27:34 -0500 Received: from skedge04.snt-world.com ([91.208.41.69]:34758 "EHLO skedge04.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729152AbeK0T1e (ORCPT ); Tue, 27 Nov 2018 14:27:34 -0500 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 2235067968C; Tue, 27 Nov 2018 09:30:25 +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.1466.3; Tue, 27 Nov 2018 09:30:24 +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; Tue, 27 Nov 2018 09:30:24 +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+bbi1IymHUOKrtHQUP0AvaVjN6EAgAACMwA= Date: Tue, 27 Nov 2018 08:30:24 +0000 Message-ID: <9365718c-4993-7e3b-1519-8fef0c08c0db@kontron.de> References: <1543304637-27308-1-git-send-email-frieder.schrempf@kontron.de> <20181127092232.3a6d1661@bbrezillon> In-Reply-To: <20181127092232.3a6d1661@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: <7FB3C31B07BFE1458731A2FD4C566831@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: 2235067968C.AC08A 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 T24gMjcuMTEuMTggMDk6MjIsIEJvcmlzIEJyZXppbGxvbiB3cm90ZToNCj4gT24gVHVlLCAyNyBO b3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