Re: [PATCH] rust: ACPI: fix missing match data for PRP0001
From: Danilo Krummrich
Date: Sat Apr 04 2026 - 17:33:07 EST
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.