Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Ojeda <[email protected]>
  • Loading branch information
adamrk and ojeda authored Feb 17, 2021
1 parent eef24ea commit 33001ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/kernel/module_param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use core::fmt::Write;

/// Types that can be used for module parameters.
/// Note that displaying the type in `sysfs` will fail if `to_string` returns
/// more than 4K bytes (including an additional null terminator).
/// more than 4 KiB (including an additional null terminator).
pub trait ModuleParam : core::fmt::Display + core::marker::Sized {
fn try_from_param_arg(arg: &[u8]) -> Option<Self>;

Expand Down

0 comments on commit 33001ee

Please sign in to comment.