diff options
| author | Miguel Ojeda <[email protected]> | 2022-11-10 16:41:14 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2022-12-01 19:12:14 +0000 |
| commit | 4c7f949906ae2ceb31d71fb235975f1bfa1adb21 (patch) | |
| tree | 9f7abbaa95decd45b11d1710d63c0d5439039316 /samples/rust/rust_print.rs | |
| parent | rust: prelude: split re-exports into groups (diff) | |
| download | kernel-4c7f949906ae2ceb31d71fb235975f1bfa1adb21.tar.gz kernel-4c7f949906ae2ceb31d71fb235975f1bfa1adb21.zip | |
rust: print: add more `pr_*!` levels
Currently, only `pr_info!` (for the minimal sample) and
`pr_emerg!` (for the panic handler) are there.
Add the other levels as new macros, i.e. `pr_alert!`, `pr_crit!`,
`pr_err!`, `pr_warn!`, `pr_notice!` and `pr_debug!`.
Co-developed-by: Adam Bratschi-Kaye <[email protected]>
Signed-off-by: Adam Bratschi-Kaye <[email protected]>
Co-developed-by: Wedson Almeida Filho <[email protected]>
Signed-off-by: Wedson Almeida Filho <[email protected]>
Co-developed-by: Gary Guo <[email protected]>
Signed-off-by: Gary Guo <[email protected]>
Reviewed-by: Boqun Feng <[email protected]>
Reviewed-by: Wei Liu <[email protected]>
Reviewed-by: Sergio Gonzalez Collado <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'samples/rust/rust_print.rs')
0 files changed, 0 insertions, 0 deletions
