Re: [PATCH 1/4] rust: device: support `dev_printk` on all devices

From: Danilo Krummrich

Date: Wed Jan 21 2026 - 10:33:57 EST


On Wed Jan 21, 2026 at 2:46 PM CET, Gary Guo wrote:
> I converted them as they're the users that benefit from this behaviour in the
> kernel crate (i.e. "convert the users"). Do you want them separate so you can
> take it via a different tree?

No it eventually goes through the same tree, but in general patches should be
split up per subsystem / component / driver if possible.

For instance, the split should go as follows:

1. DMA
- samples/rust/rust_dma.rs

2. DRIVER CORE
- samples/rust/rust_driver_auxiliary.rs
- samples/rust/rust_driver_faux.rs
- samples/rust/rust_driver_platform.rs

3. PCI
- rust/kernel/pci.rs
- samples/rust/rust_driver_pci.rs

4. I2C
- samples/rust/rust_driver_i2c.rs
- samples/rust/rust_i2c_client.rs