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

Ray Zhang sgzhang at google.com
Tue Sep 27 10:38:43 PDT 2022


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




More information about the linux-mtd mailing list