mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Convert type of 'struct dmi_system_id -> driver_data' from 'void *' to kernel_ulong_t?
@ 2022-01-19  1:22 Kai-Heng Feng
  2022-01-19 10:20 ` Hans de Goede
  0 siblings, 1 reply; 5+ messages in thread
From: Kai-Heng Feng @ 2022-01-19  1:22 UTC (permalink / raw)
  To: LKML
  Cc: jkosina, Hans de Goede, Jason Gunthorpe, Bjorn Helgaas,
	mgurtovoy, linux, Arnd Bergmann, stephan, Rafael J. Wysocki

Hi,

I wonder if there's any reason to use 'void *' instead of
kernel_ulong_t for 'driver_data' in 'struct dmi_system_id'?

I'd like to use the driver_data for applying quirk flags, and I found
out unlike most other struct *_id, the dmi variant is using 'void *'
for driver_data. Is there any technical reason for this?

Kai-Heng

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-20  1:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19  1:22 Convert type of 'struct dmi_system_id -> driver_data' from 'void *' to kernel_ulong_t? Kai-Heng Feng
2022-01-19 10:20 ` Hans de Goede
2022-01-19 20:27   ` Bjorn Helgaas
2022-01-19 20:45     ` Hans de Goede
2022-01-20  1:14       ` Kai-Heng Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome