lkml.org 
[lkml]   [2022]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH v4 0/3] mtd: mtdoops: use pr_ functions, add and direct call mtdoops_erase function when panic
From
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(-)

--
2.38.0.rc1.362.ged0d419d3c-goog

\
 
 \ /
  Last update: 2022-10-10 06:56    [W:0.053 / U:1.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site