Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934197AbcKVTpl (ORCPT ); Tue, 22 Nov 2016 14:45:41 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:36754 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934007AbcKVTpj (ORCPT ); Tue, 22 Nov 2016 14:45:39 -0500 Date: Tue, 22 Nov 2016 11:45:36 -0800 From: Brian Norris To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: linux-mtd@lists.infradead.org, David Woodhouse , Boris Brezillon , Marek Vasut , Richard Weinberger , Cyrille Pitchen , linux-kernel@vger.kernel.org, =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Subject: Re: [PATCH] mtd: bcm47xxpart: fix parsing first block after aligned TRX Message-ID: <20161122194536.GH77253@google.com> References: <20161120150930.25401-1-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20161120150930.25401-1-zajec5@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 481 Lines: 13 On Sun, Nov 20, 2016 at 04:09:30PM +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > After parsing TRX we should skip to the first block placed behind it. > Our code was working only with TRX with length not aligned to the > blocksize. In other cases (length aligned) it was missing the block > places right after TRX. > > This fixes calculation and simplifies the comment. > > Signed-off-by: Rafał Miłecki Applied to l2-mtd.git