rust: print: add `pr_cont!` macro
authorMiguel Ojeda <ojeda@kernel.org>
Thu, 10 Nov 2022 16:41:15 +0000 (17:41 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 1 Dec 2022 19:12:44 +0000 (20:12 +0100)
commitfc6c7cac83f05f455be1f35160a618e9df103838
tree8719c63c076cb356c00c6c3c1ea2d1ecab4809b8
parent4c7f949906ae2ceb31d71fb235975f1bfa1adb21
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 <ark.email@gmail.com>
Signed-off-by: Adam Bratschi-Kaye <ark.email@gmail.com>
Co-developed-by: Wedson Almeida Filho <wedsonaf@gmail.com>
Signed-off-by: Wedson Almeida Filho <wedsonaf@gmail.com>
Co-developed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Wei Liu <wei.liu@kernel.org>
Reviewed-by: Sergio González Collado <sergio.collado@gmail.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/print.rs