[PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Mon Jan 19 10:01:33 PST 2026


On Mon, Jan 19, 2026 at 5:53 PM Uwe Kleine-König <ukleinek at kernel.org> wrote:
>
> I did, but given I'm more or less rust illiterate I would welcome
> feedback by Michal Wilczynski. I only now notice that he wasn't on Cc:
> up to now.

Thanks!

In case it helps, for context, this is part of a long migration:

    https://github.com/Rust-for-Linux/linux/issues/1075
    https://lore.kernel.org/all/20250704-core-cstr-prepare-v1-0-a91524037783@gmail.com/

(@Tamir: in the future, for patches like this, and especially since
the patch was split from a series and was a multi-step/multi-cycle
migration etc., it probably helps to give maintainers some context
with Link: tags to the ones above).

Cheers,
Miguel



More information about the linux-riscv mailing list