[PATCH v2 0/3] mtd: mtdoops: use pr_ functions, add and direct call mtdoops_erase function when panic
Ray Zhang
sgzhang at google.com
Thu Oct 6 23:50:39 PDT 2022
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
More information about the linux-mtd
mailing list