Re: [PATCH v2] rust: device_id: replace incorrect word in safety documentation
From: Danilo Krummrich
Date: Mon Dec 29 2025 - 09:07:15 EST
On Sun Dec 28, 2025 at 5:53 PM CET, Yilin Chen wrote:
> The safety documentation incorrectly refers to `RawDeviceId` when
> transmuting to `RawType`. This fixes the documentation to correctly
> indicate that implementers must ensure layout compatibility with
> `RawType`, not `RawDeviceId`.
>
Fixes: 9b90864bb42b ("rust: implement `IdArray`, `IdTable` and `RawDeviceId`")
> Signed-off-by: Yilin Chen <1479826151@xxxxxx>
Applied to driver-core-linus, thanks!