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

From: Danilo Krummrich

Date: Wed Feb 11 2026 - 05:07:21 EST


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@xxxxxxxxxx>

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@xxxxxxxxxx/