diff options
author | Ray Zhang <sgzhang@google.com> | 2022-10-10 04:55:47 +0000 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-11-07 17:07:59 +0100 |
commit | 43cfba56d312f0a45e0b3eaa63606e05ae7fac14 (patch) | |
tree | 2cb5e27440ee97f49146b9d7678386941c3c840d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2df11f00100d7278185a9dbefa20ba3f5d32401d (diff) |
mtd: mtdoops: change printk() to counterpart pr_ functions
To comply with latest kernel code requirement, change printk() to
counterpart pr_ functions in mtdoops driver:
- change printk(INFO) to pr_info()
- change printk(DEBUG) to pr_debug()
- change printk(WARNING) to pr_warn()
- change printk(ERR) to pr_err()
Note that only if dynamic debugging is enabled or DEBUG is defined,
printk(KERN_DEBUG) and pr_debug() are equivalent; Otherwise pr_debug()
is no-op, causing different behavior.
Signed-off-by: Ray Zhang <sgzhang@google.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20221010045549.2221965-2-sgzhang@google.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions