Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp412002imu; Fri, 25 Jan 2019 04:37:19 -0800 (PST) X-Google-Smtp-Source: ALg8bN73Rf2s0YSc9F7OSU7H+X5646awqzTAl5PnEabvWGspM7xb88ZGh1/R7xyMVYhbRCgHXfhj X-Received: by 2002:a17:902:34a:: with SMTP id 68mr11027386pld.268.1548419839806; Fri, 25 Jan 2019 04:37:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548419839; cv=none; d=google.com; s=arc-20160816; b=J4KA2wSYcy6P5FZoDl36lciiz3ZG6eFeotYmTer7GaLzrpYEKgPm7ZQ0DFWE1UFgc0 An2mtZVHueI24wW203WHts2yUBhWLxRSN7kywI4xAYL16wK3dPfOmZ2YOEsKV5YeMyE3 b5iCfCVzsBQIkHfPO3fECze23mtNI1eKSnEqBjQkT/kj/bri0Mnk0taMCxZbtuytz3jR bDDqVJ2LfTeqyuju1AIjHVQM9RQ/JQ4+nHeYBTYB6KYipO+1yCjA8YVNwH4OlgK6nGwZ c1boczL4TVwASFW7PWOngUYndVow89+NoJKI2OzR8ISBbF68+6pzhNXZWHqo0++aRDyO QxJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=TRzZHt6yb3bUbNHKoRYzMeOJHPJg+kuvDLR46yvQVuA=; b=FH8bz2MEp2iD2ONq3KBSJLVyLNSl2dB+vxKCo9AImNDtPEnkF03l1YfPdwJBxl3GvU TQjZYKTfJYJtCpmesLTlw5L6yYJ2rll0TPhVlFMEdq6ioyL4foiwwzI+TrNwHMyVIFw3 pqGcqKKJwI4utcgrrPxEPjoh7zyVFI/UBjbY17PoaFf4KKv9mpeZsQHB/X0wrKQhugSn CVFVCrrHuS/17f5paZXt7aHyZGcSXbg6VgCAyUCB6n5w99JrmM862p+jMTiIBXHfGbmj 2Q2U7UoCoMJttOyx/gep9WT1/qaD3hOtzmVLSvZ7AnBpvoX0tZwTGnosK8NOcZnF/GM3 GOcw== 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 go15si22589972plb.219.2019.01.25.04.37.04; Fri, 25 Jan 2019 04:37:19 -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 S1728936AbfAYMfZ convert rfc822-to-8bit (ORCPT + 99 others); Fri, 25 Jan 2019 07:35:25 -0500 Received: from mail.bootlin.com ([62.4.15.54]:49169 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726108AbfAYMfY (ORCPT ); Fri, 25 Jan 2019 07:35:24 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 7784D207B0; Fri, 25 Jan 2019 13:35:22 +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 shortcircuit=ham autolearn=disabled version=3.4.2 Received: from xps13 (aaubervilliers-681-1-87-206.w90-88.abo.wanadoo.fr [90.88.29.206]) by mail.bootlin.com (Postfix) with ESMTPSA id 2076920397; Fri, 25 Jan 2019 13:35:12 +0100 (CET) Date: Fri, 25 Jan 2019 13:35:12 +0100 From: Miquel Raynal To: Yoshio Furuyama Cc: bbrezillon@kernel.org, richard@nod.at, dwmw2@infradead.org, computersforpeace@gmail.com, marek.vasut@gmail.com, frieder.schrempf@kontron.De, peron.clem@gmail.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: spinand: Add support for all Toshiba Memory products Message-ID: <20190125133512.01018a33@xps13> In-Reply-To: <20190116055319.2755-1-tmcmc-mb-yfuruyama7@ml.toshiba.co.jp> References: <20190116055319.2755-1-tmcmc-mb-yfuruyama7@ml.toshiba.co.jp> Organization: Bootlin X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yoshio, Yoshio Furuyama wrote on Wed, 16 Jan 2019 14:53:19 +0900: > Add device table for Toshiba Memory products. > Also, generalize OOB layout structure and function names. > > Signed-off-by: Yoshio Furuyama > > --- Applied to nand/next with the mathematical operations enclosed in braces as discussed: - region->length = mtd->oobsize / 2 - 2; + region->length = (mtd->oobsize / 2) - 2; Thanks, Miquèl