mtd: parsers: bcm47xxpart: print correct offset on read error
stable inclusion from stable-v5.10.154 commit 85e458369c0f48d3b27592c0804dedbeb466c4db category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I64YCB Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=85e458369c0f48d3b27592c0804dedbeb466c4db -------------------------------- [ 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> Signed-off-by:
Lipeng Sang <sanglipeng1@jd.com>
Loading
Please sign in to comment