Skip to content

mtd: mtdoops: use pr_ functions, add and direct call mtdoops_erase function when panic

Ray Zhang linux-mtd lkml 4 versions – Applied

Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 3 repliesApplied
  2. v33 patches 2 repliesSuperseded
  3. v23 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches1 replySuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3mtd: mtdoops: change printk() to counterpart pr_ functionsdrivers/mtd/mtdoops.c+27 -251 reply
2/3mtd: mtdoops: add mtdoops_erase function and move mtdoops_inc_counter to after itdrivers/mtd/mtdoops.c+27 -221 reply
3/3mtd: mtdoops: panic caused mtdoops to call mtdoops_erase function immediatelydrivers/mtd/mtdoops.c+16 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/3] mtd: mtdoops: use pr_ functions, add and direct call mtdoops_erase function when panic

In mtdoops driver, to comply with latest kernel code requirement, change printk() to counterpart pr_ functions. [Note: change to pr_debug() may cause behavior difference.] 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 | 109 ++++++++++++++++++++++++------------------
 1 file changed, 62 insertions(+), 47 deletions(-)
Signature · 1 line
2.38.0.rc1.362.ged0d419d3c-goog