mbox series

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

Message ID 20220927173845.2293378-1-sgzhang@google.com
Headers show
Series mtd: mtdoops: change log and erase functions | expand

Message

Ray Zhang Sept. 27, 2022, 5:38 p.m. UTC
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(-)