Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3526530imu; Fri, 30 Nov 2018 01:38:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/WYxz7aNW7L4ZT8lAdApbYK67JnQQjKC0PeLFOsof5pGhqnjpw5vYuo3Sq9+DwlMUpy7N1C X-Received: by 2002:a63:a611:: with SMTP id t17mr4193374pge.338.1543570722595; Fri, 30 Nov 2018 01:38:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543570722; cv=none; d=google.com; s=arc-20160816; b=pqFJ0iEzsB03p0hDtFRVPPd6cs9RPQtWe/5z1EWJ/UL/SuTGFmO9ZCX0QdXAeChxxX pb095EHdyVjhokm5CYG3fF5wQcS53pc9d5icCmTrl9/xT8G/ksxN07zbvkOlZBKxr87h cJxqanpze+fhHlEn3lplM6RURy3tHQd+USUowFhk3xtpGdN+k3UYX8J/KwGbWC9pvgc3 LYAhC5TDeQcrh8lEAHjDi3Yr9ilRfQ63pG7Hw4O26Px7JaDwMYDCreyBdBwEXTOs/5CS 1y5PmY84AXr8P2kIRLkTULSBSC+TZfPO/cN3Oj+G29n0fgd8vovWwtDsmV2EiC+QU858 j1ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:message-id:date:subject:cc:to :from; bh=5weJdPP2mqgdftkCXz80Cj4sz4OCW3LjkFPZpvrOSnY=; b=qnwJEINowiRZTBHJBCWcwbN0DhBjiko9EssFt1qRpdyQGtA1WOnrugH/oXQutMhScA P1XkSpniditMqqLT9z/fVygrsOLgIoQvLVTyixepub6W2UOFqqdZMMeJQC+zeSCzAxbH rpkUz8N6OOLeuENPgutoFpocWW/jMOtKas0gCNxz0fnUxBPckrVeA3aDvb8OdXfjIi7+ VmZVV/VGtLDgoMOisYkL9Xa8bGN9OGG3YusvYbA5A+E1Lr02I6f4EwaJH85G+PMFG4B9 /fUjd3bp68UllUewOsjiqWLzAj3rnT3DUmfRIUSpWj9v10fwb56LniAUayQpdjmDLx2+ 1Tww== 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 g6si4495916pgr.472.2018.11.30.01.38.28; Fri, 30 Nov 2018 01:38:42 -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 S1726597AbeK3Uqc (ORCPT + 99 others); Fri, 30 Nov 2018 15:46:32 -0500 Received: from mail.bootlin.com ([62.4.15.54]:47554 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726467AbeK3Uqc (ORCPT ); Fri, 30 Nov 2018 15:46:32 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 7489420745; Fri, 30 Nov 2018 10:37:48 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost.localdomain (aaubervilliers-681-1-63-158.w90-88.abo.wanadoo.fr [90.88.18.158]) by mail.bootlin.com (Postfix) with ESMTPSA id 1ED2020741; Fri, 30 Nov 2018 10:37:48 +0100 (CET) From: Boris Brezillon To: Schrempf Frieder , Boris Brezillon , Miquel Raynal , Richard Weinberger Cc: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Marek Vasut , "linux-mtd@lists.infradead.org" , Brian Norris , David Woodhouse Subject: Re: mtd: nand: Fix memory allocation in nanddev_bbt_init() Date: Fri, 30 Nov 2018 10:37:48 +0100 Message-Id: <20181130093748.5475-1-boris.brezillon@bootlin.com> X-Mailer: git-send-email 2.17.1 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: 40b412897ccb4b98b2cfb2a0aaabed58dd9e2086 In-Reply-To: <1543304637-27308-1-git-send-email-frieder.schrempf@kontron.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-11-27 at 07:44:52 UTC, Schrempf Frieder wrote: > Fix the size of the buffer allocated to store the in-memory BBT. > This bug was previously hidden by a different bug, that was fixed in > d098093ba06e. > > Fixes: 9c3736a3de21 ("mtd: nand: Add core infrastructure to deal with NAND devices") > Cc: > Signed-off-by: Frieder Schrempf > Acked-by: Miquel Raynal Applied to http://git.infradead.org/linux-mtd.git master, thanks. Boris