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

From: Miguel Ojeda

Date: Mon Jan 19 2026 - 13:01:48 EST


On Mon, Jan 19, 2026 at 5:53 PM Uwe Kleine-König <ukleinek@xxxxxxxxxx> 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@xxxxxxxxx/

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