On Sat, Nov 9, 2024 at 5:55 PM Miguel Ojeda <[email protected]> wrote:
>
> The `rust_print` module, when built as a module, fails to build with:
>
>     ERROR: modpost: missing MODULE_LICENSE() in 
> samples/rust/rust_print_events.o
>     ERROR: modpost: "__tracepoint_rust_sample_loaded" 
> [samples/rust/rust_print.ko] undefined!
>     ERROR: modpost: "rust_do_trace_rust_sample_loaded" 
> [samples/rust/rust_print.ko] undefined!
>
> Fix it by building it as a combined one.
>
> Reported-by: Stephen Rothwell <[email protected]>
> Closes: https://lore.kernel.org/all/[email protected]/
> Fixes: 91d39024e1b0 ("rust: samples: add tracepoint to Rust sample")
> Signed-off-by: Miguel Ojeda <[email protected]>

Thanks for fixing this, Miguel!

Reviewed-by: Alice Ryhl <[email protected]>

Reply via email to