Re: [PATCH v4 01/33] gpu: nova-core: pass pdev directly to dev_* logging macros

Danilo Krummrich
2026-02-11T10:07:08Z

On Tue Feb 10, 2026 at 3:45 AM CET, John Hubbard wrote:
> The dev_dbg!, dev_info!, dev_err!, and dev_warn! macros now accept
> pci::Device directly without requiring an explicit .as_ref()
> conversion to device::Device, thanks to commit a38cd1fea989
> ("rust: device: support `dev_printk` on all devices").
>
> Signed-off-by: John Hubbard <jhubbard@nvidia.com>

There is already [1], which I queued up for when v7.0-rc1 is out.

[1] https://lore.kernel.org/all/20260123175854.176735-7-gary@kernel.org/