Commit 85e45836 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Greg Kroah-Hartman
Browse files

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: default avatarRafał Miłecki <rafal@milecki.pl>
Signed-off-by: default avatarMiquel 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: default avatarSasha Levin <sashal@kernel.org>
parent ec54104f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment