diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2024-11-11 16:36:51 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-11-11 10:32:45 +0100 |
commit | 24f4d8abd9fc7f8e90c0f1d2a652cb8ea790d54c (patch) | |
tree | 36b3a258395531eed56c81431ba8ad45528291e9 /ubifs-utils/common/sign.h | |
parent | 1bf5f879f01a1a1f6d99c5a2a13d710ca7908d64 (diff) |
ubifs-utils: Add implementations for linux kernel printing functions
Add implementations for linux kernel printing functions, because these
functions(eg. pr_debug, pr_err, etc.) are widely used in UBIFS linux
kernel libs. No need to define multiple levels in dbg_msg for debuging,
just replace dbg_msg with pr_debug. Now, there are five levels of
printing messages:
0 - none
1 - error message
2 - warning message [default]
3 - notice message
4 - debug message
This is a preparation for replacing implementation of UBIFS utils with
linux kernel libs.
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/common/sign.h')
0 files changed, 0 insertions, 0 deletions