[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221007215027.918507-1-sgzhang@google.com>
Date: Fri, 7 Oct 2022 21:50:24 +0000
From: Ray Zhang <sgzhang@...gle.com>
To: Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
Ray Zhang <sgzhang@...gle.com>
Subject: [PATCH v3 0/3] mtd: mtdoops: use pr_ functions, add and direct call
mtdoops_erase function when panic
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 | 107 +++++++++++++++++++++++-------------------
1 file changed, 60 insertions(+), 47 deletions(-)
--
2.38.0.rc1.362.ged0d419d3c-goog
Powered by blists - more mailing lists