[PATCH] mtd: bcm47xxpart: fix parsing first block after aligned TRX

Brian Norris computersforpeace at gmail.com
Tue Nov 22 11:45:36 PST 2016


On Sun, Nov 20, 2016 at 04:09:30PM +0100, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> 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 <rafal at milecki.pl>

Applied to l2-mtd.git



More information about the linux-mtd mailing list