Re: [PATCH RFC] drm/msm: move VM_BIND op validation to Rust

From: Konrad Dybcio

Date: Thu Oct 29 2026 - 09:45:24 EST


On 10/29/26 10:48 AM, Alice Ryhl wrote:
> On Mon, Oct 26, 2026 at 12:40:02PM +0100, Konrad Dybcio wrote:
>> +#[no_mangle]
>
> If you use the #[export] macro instead, then it has the same effect
> as #[no_mangle], but it verifies at build-time that the signature
> matches what's in the header file.
>
> See for comparison:
> drivers/gpu/drm/drm_panic_helper_qr.rs

Nice, thanks!

Konrad