linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] mtd: mtdoops: use pr_ functions, add and direct call mtdoops_erase function when panic
@ 2022-10-07  6:50 Ray Zhang
  2022-10-07  6:50 ` [PATCH v2 1/3] mtd: mtdoops: change printk() to counterpart pr_ functions Ray Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ray Zhang @ 2022-10-07  6:50 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra
  Cc: linux-mtd, linux-kernel, Ray Zhang

In mtdoops driver, to comply with latest kernel code requirement, change
printk() to counterpart pr_ functions. Add mtdoops_erase function; When
panic function invokes mtdoops, if needed, call mtdoops_erase function
immediately.

Ray Zhang (3):
  mtd: mtdoops: change printk() to counterpart pr_ functions
  mtd: mtdoops: add mtdoops_erase function and move mtdoops_inc_counter
    to after it
  mtd: mtdoops: panic caused mtdoops to call mtdoops_erase function
    immediately

 drivers/mtd/mtdoops.c | 107 +++++++++++++++++++++++-------------------
 1 file changed, 60 insertions(+), 47 deletions(-)

-- 
2.38.0.rc1.362.ged0d419d3c-goog


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-07 15:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-07  6:50 [PATCH v2 0/3] mtd: mtdoops: use pr_ functions, add and direct call mtdoops_erase function when panic Ray Zhang
2022-10-07  6:50 ` [PATCH v2 1/3] mtd: mtdoops: change printk() to counterpart pr_ functions Ray Zhang
2022-10-07  7:09   ` Joe Perches
2022-10-07  7:52     ` Miquel Raynal
2022-10-07 15:43       ` Joe Perches
2022-10-07  6:50 ` [PATCH v2 2/3] mtd: mtdoops: add mtdoops_erase function and move mtdoops_inc_counter to after it Ray Zhang
2022-10-07  6:50 ` [PATCH v2 3/3] mtd: mtdoops: panic caused mtdoops to call mtdoops_erase function immediately Ray Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).