Skip to content
Snippets Groups Projects
Commit d085cd58 authored by Wedson Almeida Filho's avatar Wedson Almeida Filho Committed by Danilo Krummrich
Browse files

rust: add `dev_*` print macros.


Implement `dev_*` print macros for `device::Device`.

They behave like the macros with the same names in C, i.e., they print
messages to the kernel ring buffer with the given level, prefixing the
messages with corresponding device information.

Signed-off-by: default avatarWedson Almeida Filho <wedsonaf@google.com>
Signed-off-by: default avatarDanilo Krummrich <dakr@redhat.com>
parent 3449d3f8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment