Re: [PATCH] ACPI: bus: Match first 9 bytes of device IDs
From: Jason A. Donenfeld
Date: Fri Feb 25 2022 - 12:16:58 EST
Hi Alex,
On Fri, Feb 25, 2022 at 06:09:59PM +0100, Alexander Graf wrote:
> You have to make this "VM_GEN_CO". I now match the full 9 bytes - unlike
> the previous patch I sent :)
Ahh, so no NULL byte, but presumably no need because strncmp is used.
Great, seems to work.
There's the other aspect of udev matching, by the way. Have you tested
what happens in userspace? Need be, we could make the vmgenid driver a
bool instead of a tristate, but maybe there's a way to do that right?
Jason