On Fri, 2025-12-12 at 14:49 -0600, Timur Tabi wrote:
> + // `struct pci_dev`, which contains a `struct device dev`
> member.
> + unsafe {
> + let pci_dev = self.as_raw();
> + let dev = addr_of_mut!((*pci_dev).dev);
> +JFYI - addr_of!/addr_of_mut! shouldn't be used in new code, we're moving to using &raw const and &raw mut respectively (which pretty much do the same thing without a macro).
