mtd: parsers: bcm47xxpart: print correct offset on read error
[ Upstream commit 4c38eded ] mtd_read() gets called with offset + 0x8000 as argument so use the same value in pr_err(). Signed-off-by:Rafał Miłecki <rafal@milecki.pl> Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220317114316.29827-1-zajec5@gmail.com Stable-dep-of: 05e258c6 ("mtd: parsers: bcm47xxpart: Fix halfblock reads") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading