drivers/mtd/mtdoops.c | 61 +++++++++++++++++++++++++------------------ 1 file changed, 36 insertions(+), 25 deletions(-)
The current header consists of 2 32-bit values which makes it difficult and error prone to expand. This creates a structure for the header. Some oops only have time relative to boot, this adds an absolute timestamp. Changelog since v3: Fix the printk format for sizeof to %zu. Changelog since v2: - Add a timestamp to the header. Changelog since v1: - Create a header structure to simplify code. - Patches in series. - Patch prefix. Jean-Marc Eurin (3): mtd: mtdoops: Fix the size of the header read buffer. mtd: mtdoops: Create a header structure for the saved mtdoops. mtd: mtdoops: Add a timestamp to the mtdoops header. drivers/mtd/mtdoops.c | 61 +++++++++++++++++++++++++------------------ 1 file changed, 36 insertions(+), 25 deletions(-) -- 2.36.0.rc2.479.g8af0fa9b8e-goog
Hi Jean-Marc, jmeurin@google.com wrote on Thu, 21 Apr 2022 16:42:41 -0700: > The current header consists of 2 32-bit values which makes it difficult > and error prone to expand. This creates a structure for the header. > > Some oops only have time relative to boot, this adds an absolute timestamp. > > Changelog since v3: > Fix the printk format for sizeof to %zu. > > Changelog since v2: > - Add a timestamp to the header. > > Changelog since v1: > - Create a header structure to simplify code. > - Patches in series. > - Patch prefix. > > Jean-Marc Eurin (3): > mtd: mtdoops: Fix the size of the header read buffer. > mtd: mtdoops: Create a header structure for the saved mtdoops. > mtd: mtdoops: Add a timestamp to the mtdoops header. Looks like the last patch was not sent to the list?
Hi Miquel, On Mon, Apr 25, 2022 at 1:42 AM Miquel Raynal <miquel.raynal@bootlin.com> wrote: > > Hi Jean-Marc, > > jmeurin@google.com wrote on Thu, 21 Apr 2022 16:42:41 -0700: > > > The current header consists of 2 32-bit values which makes it difficult > > and error prone to expand. This creates a structure for the header. > > > > Some oops only have time relative to boot, this adds an absolute timestamp. > > > > Changelog since v3: > > Fix the printk format for sizeof to %zu. > > > > Changelog since v2: > > - Add a timestamp to the header. > > > > Changelog since v1: > > - Create a header structure to simplify code. > > - Patches in series. > > - Patch prefix. > > > > Jean-Marc Eurin (3): > > mtd: mtdoops: Fix the size of the header read buffer. > > mtd: mtdoops: Create a header structure for the saved mtdoops. > > mtd: mtdoops: Add a timestamp to the mtdoops header. > > Looks like the last patch was not sent to the list? > I'm not sure what happened. I've just sent it and then noticed that the mail threading is wrong. Let me know if you want me to resend the full thread. I'm really sorry about that :-( and thanks for all your help. Jean-Marc
Hi Jean-Marc, jmeurin@google.com wrote on Mon, 25 Apr 2022 09:14:08 -0700: > Hi Miquel, > > > On Mon, Apr 25, 2022 at 1:42 AM Miquel Raynal <miquel.raynal@bootlin.com> wrote: > > > > Hi Jean-Marc, > > > > jmeurin@google.com wrote on Thu, 21 Apr 2022 16:42:41 -0700: > > > > > The current header consists of 2 32-bit values which makes it difficult > > > and error prone to expand. This creates a structure for the header. > > > > > > Some oops only have time relative to boot, this adds an absolute timestamp. > > > > > > Changelog since v3: > > > Fix the printk format for sizeof to %zu. > > > > > > Changelog since v2: > > > - Add a timestamp to the header. > > > > > > Changelog since v1: > > > - Create a header structure to simplify code. > > > - Patches in series. > > > - Patch prefix. > > > > > > Jean-Marc Eurin (3): > > > mtd: mtdoops: Fix the size of the header read buffer. > > > mtd: mtdoops: Create a header structure for the saved mtdoops. > > > mtd: mtdoops: Add a timestamp to the mtdoops header. > > > > Looks like the last patch was not sent to the list? > > > > I'm not sure what happened. I've just sent it and then noticed that > the mail threading is wrong. Let me know if you want me to resend the > full thread. It's fine like that. > > I'm really sorry about that :-( and thanks for all your help. No problem! Cheers, Miquèl
© 2016 - 2026 Red Hat, Inc.