aboutsummaryrefslogtreecommitdiffstats
path: root/samples/rust/rust_print.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <[email protected]>2022-11-10 16:41:15 +0000
committerMiguel Ojeda <[email protected]>2022-12-01 19:12:44 +0000
commitfc6c7cac83f05f455be1f35160a618e9df103838 (patch)
tree8719c63c076cb356c00c6c3c1ea2d1ecab4809b8 /samples/rust/rust_print.rs
parentrust: print: add more `pr_*!` levels (diff)
downloadkernel-fc6c7cac83f05f455be1f35160a618e9df103838.tar.gz
kernel-fc6c7cac83f05f455be1f35160a618e9df103838.zip
rust: print: add `pr_cont!` macro
This level is a bit different from the rest since it does not pass the module name to the `_printk()` call. Thus add a new parameter to the general `print_macro!` to handle it differently. 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: Wei Liu <[email protected]> Reviewed-by: Sergio González 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