Re: [PATCH v3 14/16] rust: of: add `of::DeviceId` abstraction
From: Fabien Parent
Date: Sun Oct 27 2024 - 00:38:41 EST
Hi Danilo,
On Tue Oct 22, 2024 at 2:31 PM PDT, Danilo Krummrich wrote:
> +/// An open firmware device id.
> +#[derive(Clone, Copy)]
> +pub struct DeviceId(bindings::of_device_id);
...
> +// SAFETY:
> +// * `DeviceId` is a `#[repr(transparent)` wrapper of `struct of_device_id` and does not add
DeviceId is missing the `#[repr(transparent)]`.
BR,
Fabien