Jean-Marc Eurin fbb83e546e mtd: mtdoops: Fix the size of the header read buffer.
The read buffer size depends on the MTDOOPS_HEADER_SIZE.

Tested: Changed the header size, it doesn't panic, header is still
read/written correctly.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220421234244.2172003-2-jmeurin@google.com
2022-04-26 09:27:05 +02:00
..
2022-04-25 10:37:49 +02:00
2022-03-25 13:35:34 -07:00
2022-03-25 13:35:34 -07:00
2022-04-25 10:43:12 +02:00
2022-02-02 07:49:59 -07:00