[PATCH v1 0/2] mtd: mtdoops: change log and erase functions

From: Ray Zhang
Date: Tue Sep 27 2022 - 13:41:49 EST


In mtdoops driver, to comply with latest kernel code requirement, change
printk() to counterpart pr_ functions. When panic function invokes mtdoops,
call mtd erase function immediately when needed.

Ray Zhang (2):
mtd: mtdoops: change printk() to counterpart pr_ functions
mtd: mtdoops: panic caused mtdoops to call mtd erase function
immediately

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

--
2.37.3.998.g577e59143f-goog