[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241115175346.GA2045933@bhelgaas>
Date: Fri, 15 Nov 2024 11:53:46 -0600
From: Bjorn Helgaas <helgaas@...nel.org>
To: Alistair Francis <alistair@...stair23.me>
Cc: lukas@...ner.de, Jonathan.Cameron@...wei.com,
linux-kernel@...r.kernel.org, rust-for-linux@...r.kernel.org,
akpm@...ux-foundation.org, bhelgaas@...gle.com,
linux-pci@...r.kernel.org, linux-cxl@...r.kernel.org,
bjorn3_gh@...tonmail.com, ojeda@...nel.org, tmgross@...ch.edu,
boqun.feng@...il.com, benno.lossin@...ton.me, a.hindborg@...nel.org,
wilfred.mallawa@....com, alistair23@...il.com,
alex.gaynor@...il.com, gary@...yguo.net, aliceryhl@...gle.com
Subject: Re: [RFC 1/6] rust: bindings: Support SPDM bindings
On Fri, Nov 15, 2024 at 03:46:11PM +1000, Alistair Francis wrote:
> In preparation for a Rust SPDM library we need to include the SPDM
> functions in the Rust bindings.
>
> Signed-off-by: Alistair Francis <alistair@...stair23.me>
> ---
> rust/bindings/bindings_helper.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h
> index 7847b2b3090b..8283e6a79ac9 100644
> --- a/rust/bindings/bindings_helper.h
> +++ b/rust/bindings/bindings_helper.h
> @@ -24,6 +24,7 @@
> #include <linux/sched/signal.h>
> #include <linux/sched/task.h>
> #include <linux/slab.h>
> +#include <linux/spdm.h>
Usually an additional #include goes in the same patch that makes use
of the new .h file. Maybe there's a different convention in rust/?
> #include <linux/uaccess.h>
> #include <linux/wait.h>
> #include <linux/workqueue.h>
> --
> 2.47.0
>
Powered by blists - more mailing lists