mtd: parsers: bcm47xxpart: print correct offset on read error
authorRafał Miłecki <rafal@milecki.pl>
Thu, 17 Mar 2022 11:43:16 +0000 (12:43 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 4 Apr 2022 08:33:11 +0000 (10:33 +0200)
commit4c38eded807043f40f4dc49da6df097f9dcac393
tree10661707cdafa879e2562e4263b84a8bb97e3050
parent3123109284176b1532874591f7c81f3837bbdc17
mtd: parsers: bcm47xxpart: print correct offset on read error

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
drivers/mtd/parsers/bcm47xxpart.c