Re: [PATCH] rust: ACPI: fix missing match data for PRP0001

Danilo Krummrich
2026-04-04T21:32:50Z

On Sat Apr 4, 2026 at 11:23 PM CEST, Gary Guo wrote:
> BTW, if most drivers use driver_data of ID as pointers, why is it defined as
> kernel_ulong_t instead of just `void*`?

I think that's because the ID tables are exported to userspace via
scripts/mod/file2alias.c. If it would be void *, then there could be a mismatch
in size when cross compiling.