|
@@ -734,10 +734,7 @@ pub use bpf_printk;
|
|
/// Argument ready to be passed to `printk` BPF helper.
|
|
/// Argument ready to be passed to `printk` BPF helper.
|
|
#[repr(transparent)]
|
|
#[repr(transparent)]
|
|
#[derive(Copy, Clone)]
|
|
#[derive(Copy, Clone)]
|
|
-pub struct PrintkArg(
|
|
|
|
- #[allow(dead_code)] // TODO(https://github.com/rust-lang/rust/issues/119659): Remove.
|
|
|
|
- u64,
|
|
|
|
-);
|
|
|
|
|
|
+pub struct PrintkArg(u64);
|
|
|
|
|
|
impl PrintkArg {
|
|
impl PrintkArg {
|
|
/// Manually construct a `printk` BPF helper argument.
|
|
/// Manually construct a `printk` BPF helper argument.
|