mtd: mtdoops: Create a header structure for the saved mtdoops.
authorJean-Marc Eurin <jmeurin@google.com>
Thu, 21 Apr 2022 23:42:43 +0000 (16:42 -0700)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 26 Apr 2022 07:27:07 +0000 (09:27 +0200)
commit0bd359ee712d9d3e757971ded4094c8ba006acd4
treeb5a0f973fe1a6d05859aeb33f8245b8ee39006d4
parentfbb83e546ea4543ab0c59dcbfc5a5a1471ea1806
mtd: mtdoops: Create a header structure for the saved mtdoops.

Create a dump header to enable the addition of fields without having
to modify the rest of the code.

Reported-by: kernel test robot <lkp@intel.com>
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-3-jmeurin@google.com
drivers/mtd/mtdoops.c