* [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings
@ 2025-12-22 12:24 Tamir Duberstein
2025-12-22 14:21 ` Daniel Almeida
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Tamir Duberstein @ 2025-12-22 12:24 UTC (permalink / raw)
To: Drew Fustini, Guo Ren, Fu Wei, Uwe Kleine-König,
Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
Benno Lossin, Andreas Hindborg, Alice Ryhl, Trevor Gross,
Danilo Krummrich
Cc: linux-riscv, linux-pwm, linux-kernel, rust-for-linux,
Tamir Duberstein
From: Tamir Duberstein <tamird@gmail.com>
C-String literals were added in Rust 1.77. Replace instances of
`kernel::c_str!` with C-String literals where possible.
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
---
drivers/pwm/pwm_th1520.rs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/pwm/pwm_th1520.rs b/drivers/pwm/pwm_th1520.rs
index e3b7e77356fc..8ae8f852ec02 100644
--- a/drivers/pwm/pwm_th1520.rs
+++ b/drivers/pwm/pwm_th1520.rs
@@ -22,7 +22,6 @@
use core::ops::Deref;
use kernel::{
- c_str,
clk::Clk,
device::{Bound, Core, Device},
devres,
@@ -327,7 +326,7 @@ fn drop(self: Pin<&mut Self>) {
OF_TABLE,
MODULE_OF_TABLE,
<Th1520PwmPlatformDriver as platform::Driver>::IdInfo,
- [(of::DeviceId::new(c_str!("thead,th1520-pwm")), ())]
+ [(of::DeviceId::new(c"thead,th1520-pwm"), ())]
);
impl platform::Driver for Th1520PwmPlatformDriver {
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251222-cstr-pwm-c9b9a4701157
Best regards,
--
Tamir Duberstein <tamird@gmail.com>
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings
2025-12-22 12:24 [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings Tamir Duberstein
@ 2025-12-22 14:21 ` Daniel Almeida
2026-01-04 2:30 ` Tamir Duberstein
2026-01-20 8:39 ` Uwe Kleine-König
2 siblings, 0 replies; 11+ messages in thread
From: Daniel Almeida @ 2025-12-22 14:21 UTC (permalink / raw)
To: Tamir Duberstein
Cc: Drew Fustini, Guo Ren, Fu Wei, Uwe Kleine-König,
Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
Benno Lossin, Andreas Hindborg, Alice Ryhl, Trevor Gross,
Danilo Krummrich, linux-riscv, linux-pwm, linux-kernel,
rust-for-linux, Tamir Duberstein
> On 22 Dec 2025, at 09:24, Tamir Duberstein <tamird@kernel.org> wrote:
>
> From: Tamir Duberstein <tamird@gmail.com>
>
> C-String literals were added in Rust 1.77. Replace instances of
> `kernel::c_str!` with C-String literals where possible.
>
> Signed-off-by: Tamir Duberstein <tamird@gmail.com>
> ---
> drivers/pwm/pwm_th1520.rs | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/pwm/pwm_th1520.rs b/drivers/pwm/pwm_th1520.rs
> index e3b7e77356fc..8ae8f852ec02 100644
> --- a/drivers/pwm/pwm_th1520.rs
> +++ b/drivers/pwm/pwm_th1520.rs
> @@ -22,7 +22,6 @@
>
> use core::ops::Deref;
> use kernel::{
> - c_str,
> clk::Clk,
> device::{Bound, Core, Device},
> devres,
> @@ -327,7 +326,7 @@ fn drop(self: Pin<&mut Self>) {
> OF_TABLE,
> MODULE_OF_TABLE,
> <Th1520PwmPlatformDriver as platform::Driver>::IdInfo,
> - [(of::DeviceId::new(c_str!("thead,th1520-pwm")), ())]
> + [(of::DeviceId::new(c"thead,th1520-pwm"), ())]
> );
>
> impl platform::Driver for Th1520PwmPlatformDriver {
>
> ---
> base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
> change-id: 20251222-cstr-pwm-c9b9a4701157
>
> Best regards,
> --
> Tamir Duberstein <tamird@gmail.com>
>
>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings
2025-12-22 12:24 [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings Tamir Duberstein
2025-12-22 14:21 ` Daniel Almeida
@ 2026-01-04 2:30 ` Tamir Duberstein
2026-01-19 12:54 ` Tamir Duberstein
2026-01-19 16:53 ` Uwe Kleine-König
2026-01-20 8:39 ` Uwe Kleine-König
2 siblings, 2 replies; 11+ messages in thread
From: Tamir Duberstein @ 2026-01-04 2:30 UTC (permalink / raw)
To: Drew Fustini, Guo Ren, Fu Wei, Uwe Kleine-König,
Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
Benno Lossin, Andreas Hindborg, Alice Ryhl, Trevor Gross,
Danilo Krummrich
Cc: linux-riscv, linux-pwm, linux-kernel, rust-for-linux
On Mon, Dec 22, 2025 at 7:24 AM Tamir Duberstein <tamird@kernel.org> wrote:
>
> From: Tamir Duberstein <tamird@gmail.com>
>
> C-String literals were added in Rust 1.77. Replace instances of
> `kernel::c_str!` with C-String literals where possible.
>
> Signed-off-by: Tamir Duberstein <tamird@gmail.com>
> ---
> drivers/pwm/pwm_th1520.rs | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/pwm/pwm_th1520.rs b/drivers/pwm/pwm_th1520.rs
> index e3b7e77356fc..8ae8f852ec02 100644
> --- a/drivers/pwm/pwm_th1520.rs
> +++ b/drivers/pwm/pwm_th1520.rs
> @@ -22,7 +22,6 @@
>
> use core::ops::Deref;
> use kernel::{
> - c_str,
> clk::Clk,
> device::{Bound, Core, Device},
> devres,
> @@ -327,7 +326,7 @@ fn drop(self: Pin<&mut Self>) {
> OF_TABLE,
> MODULE_OF_TABLE,
> <Th1520PwmPlatformDriver as platform::Driver>::IdInfo,
> - [(of::DeviceId::new(c_str!("thead,th1520-pwm")), ())]
> + [(of::DeviceId::new(c"thead,th1520-pwm"), ())]
> );
>
> impl platform::Driver for Th1520PwmPlatformDriver {
>
> ---
> base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
> change-id: 20251222-cstr-pwm-c9b9a4701157
>
> Best regards,
> --
> Tamir Duberstein <tamird@gmail.com>
>
@Uwe could you please have a look?
Cheers.
Tamir
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings
2026-01-04 2:30 ` Tamir Duberstein
@ 2026-01-19 12:54 ` Tamir Duberstein
2026-01-19 16:53 ` Uwe Kleine-König
1 sibling, 0 replies; 11+ messages in thread
From: Tamir Duberstein @ 2026-01-19 12:54 UTC (permalink / raw)
To: Drew Fustini, Guo Ren, Fu Wei, Uwe Kleine-König,
Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
Benno Lossin, Andreas Hindborg, Alice Ryhl, Trevor Gross,
Danilo Krummrich
Cc: linux-riscv, linux-pwm, linux-kernel, rust-for-linux
On Sat, Jan 3, 2026 at 9:30 PM Tamir Duberstein <tamird@gmail.com> wrote:
>
> On Mon, Dec 22, 2025 at 7:24 AM Tamir Duberstein <tamird@kernel.org> wrote:
> >
> > From: Tamir Duberstein <tamird@gmail.com>
> >
> > C-String literals were added in Rust 1.77. Replace instances of
> > `kernel::c_str!` with C-String literals where possible.
> >
> > Signed-off-by: Tamir Duberstein <tamird@gmail.com>
> > ---
> > drivers/pwm/pwm_th1520.rs | 3 +--
> > 1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/drivers/pwm/pwm_th1520.rs b/drivers/pwm/pwm_th1520.rs
> > index e3b7e77356fc..8ae8f852ec02 100644
> > --- a/drivers/pwm/pwm_th1520.rs
> > +++ b/drivers/pwm/pwm_th1520.rs
> > @@ -22,7 +22,6 @@
> >
> > use core::ops::Deref;
> > use kernel::{
> > - c_str,
> > clk::Clk,
> > device::{Bound, Core, Device},
> > devres,
> > @@ -327,7 +326,7 @@ fn drop(self: Pin<&mut Self>) {
> > OF_TABLE,
> > MODULE_OF_TABLE,
> > <Th1520PwmPlatformDriver as platform::Driver>::IdInfo,
> > - [(of::DeviceId::new(c_str!("thead,th1520-pwm")), ())]
> > + [(of::DeviceId::new(c"thead,th1520-pwm"), ())]
> > );
> >
> > impl platform::Driver for Th1520PwmPlatformDriver {
> >
> > ---
> > base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
> > change-id: 20251222-cstr-pwm-c9b9a4701157
> >
> > Best regards,
> > --
> > Tamir Duberstein <tamird@gmail.com>
> >
>
> @Uwe could you please have a look?
>
> Cheers.
> Tamir
Drew, Guo, or Fu: could you please take this through your tree, or
would you be OK with it going through rust-next?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings
2026-01-04 2:30 ` Tamir Duberstein
2026-01-19 12:54 ` Tamir Duberstein
@ 2026-01-19 16:53 ` Uwe Kleine-König
2026-01-19 18:01 ` Miguel Ojeda
2026-01-19 21:48 ` Michal Wilczynski
1 sibling, 2 replies; 11+ messages in thread
From: Uwe Kleine-König @ 2026-01-19 16:53 UTC (permalink / raw)
To: Tamir Duberstein
Cc: Drew Fustini, Guo Ren, Fu Wei, Miguel Ojeda, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
Trevor Gross, Danilo Krummrich, linux-riscv, linux-pwm,
linux-kernel, rust-for-linux, Michal Wilczynski
[-- Attachment #1: Type: text/plain, Size: 1652 bytes --]
Hello,
On Sat, Jan 03, 2026 at 09:30:31PM -0500, Tamir Duberstein wrote:
> On Mon, Dec 22, 2025 at 7:24 AM Tamir Duberstein <tamird@kernel.org> wrote:
> >
> > From: Tamir Duberstein <tamird@gmail.com>
> >
> > C-String literals were added in Rust 1.77. Replace instances of
> > `kernel::c_str!` with C-String literals where possible.
> >
> > Signed-off-by: Tamir Duberstein <tamird@gmail.com>
> > ---
> > drivers/pwm/pwm_th1520.rs | 3 +--
> > 1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/drivers/pwm/pwm_th1520.rs b/drivers/pwm/pwm_th1520.rs
> > index e3b7e77356fc..8ae8f852ec02 100644
> > --- a/drivers/pwm/pwm_th1520.rs
> > +++ b/drivers/pwm/pwm_th1520.rs
> > @@ -22,7 +22,6 @@
> >
> > use core::ops::Deref;
> > use kernel::{
> > - c_str,
> > clk::Clk,
> > device::{Bound, Core, Device},
> > devres,
> > @@ -327,7 +326,7 @@ fn drop(self: Pin<&mut Self>) {
> > OF_TABLE,
> > MODULE_OF_TABLE,
> > <Th1520PwmPlatformDriver as platform::Driver>::IdInfo,
> > - [(of::DeviceId::new(c_str!("thead,th1520-pwm")), ())]
> > + [(of::DeviceId::new(c"thead,th1520-pwm"), ())]
> > );
> >
> > impl platform::Driver for Th1520PwmPlatformDriver {
> >
> > ---
> > base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
> > change-id: 20251222-cstr-pwm-c9b9a4701157
> >
> > Best regards,
> > --
> > Tamir Duberstein <tamird@gmail.com>
> >
>
> @Uwe could you please have a look?
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.
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings
2026-01-19 16:53 ` Uwe Kleine-König
@ 2026-01-19 18:01 ` Miguel Ojeda
2026-01-19 18:17 ` Uwe Kleine-König
2026-01-19 21:48 ` Michal Wilczynski
1 sibling, 1 reply; 11+ messages in thread
From: Miguel Ojeda @ 2026-01-19 18:01 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Tamir Duberstein, Drew Fustini, Guo Ren, Fu Wei, Miguel Ojeda,
Boqun Feng, Gary Guo, Björn Roy Baron, Benno Lossin,
Andreas Hindborg, Alice Ryhl, Trevor Gross, Danilo Krummrich,
linux-riscv, linux-pwm, linux-kernel, rust-for-linux,
Michal Wilczynski
On Mon, Jan 19, 2026 at 5:53 PM Uwe Kleine-König <ukleinek@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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings
2026-01-19 18:01 ` Miguel Ojeda
@ 2026-01-19 18:17 ` Uwe Kleine-König
0 siblings, 0 replies; 11+ messages in thread
From: Uwe Kleine-König @ 2026-01-19 18:17 UTC (permalink / raw)
To: Tamir Duberstein, Miguel Ojeda
Cc: Drew Fustini, Guo Ren, Fu Wei, Miguel Ojeda, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
Trevor Gross, Danilo Krummrich, linux-riscv, linux-pwm,
linux-kernel, rust-for-linux, Michal Wilczynski
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
Hello,
On Mon, Jan 19, 2026 at 07:01:33PM +0100, Miguel Ojeda wrote:
> (@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).
And ideally also point out dependencies explicitly (also if there are
none). This gives a cosy feeling to your friendly but clueless
maintainer :-)
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings
2026-01-19 16:53 ` Uwe Kleine-König
2026-01-19 18:01 ` Miguel Ojeda
@ 2026-01-19 21:48 ` Michal Wilczynski
1 sibling, 0 replies; 11+ messages in thread
From: Michal Wilczynski @ 2026-01-19 21:48 UTC (permalink / raw)
To: Uwe Kleine-König, Tamir Duberstein
Cc: Drew Fustini, Guo Ren, Fu Wei, Miguel Ojeda, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
Trevor Gross, Danilo Krummrich, linux-riscv, linux-pwm,
linux-kernel, rust-for-linux
On 1/19/26 17:53, Uwe Kleine-König wrote:
> Hello,
>
> On Sat, Jan 03, 2026 at 09:30:31PM -0500, Tamir Duberstein wrote:
>> On Mon, Dec 22, 2025 at 7:24 AM Tamir Duberstein <tamird@kernel.org> wrote:
>>>
>>> From: Tamir Duberstein <tamird@gmail.com>
>>>
>>> C-String literals were added in Rust 1.77. Replace instances of
>>> `kernel::c_str!` with C-String literals where possible.
>>>
>>> Signed-off-by: Tamir Duberstein <tamird@gmail.com>
>>> ---
>>> drivers/pwm/pwm_th1520.rs | 3 +--
>>> 1 file changed, 1 insertion(+), 2 deletions(-)
>>>
>>> diff --git a/drivers/pwm/pwm_th1520.rs b/drivers/pwm/pwm_th1520.rs
>>> index e3b7e77356fc..8ae8f852ec02 100644
>>> --- a/drivers/pwm/pwm_th1520.rs
>>> +++ b/drivers/pwm/pwm_th1520.rs
>>> @@ -22,7 +22,6 @@
>>>
>>> use core::ops::Deref;
>>> use kernel::{
>>> - c_str,
>>> clk::Clk,
>>> device::{Bound, Core, Device},
>>> devres,
>>> @@ -327,7 +326,7 @@ fn drop(self: Pin<&mut Self>) {
>>> OF_TABLE,
>>> MODULE_OF_TABLE,
>>> <Th1520PwmPlatformDriver as platform::Driver>::IdInfo,
>>> - [(of::DeviceId::new(c_str!("thead,th1520-pwm")), ())]
>>> + [(of::DeviceId::new(c"thead,th1520-pwm"), ())]
>>> );
>>>
>>> impl platform::Driver for Th1520PwmPlatformDriver {
>>>
>>> ---
>>> base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
>>> change-id: 20251222-cstr-pwm-c9b9a4701157
>>>
>>> Best regards,
>>> --
>>> Tamir Duberstein <tamird@gmail.com>
>>>
>>
>> @Uwe could you please have a look?
>
> 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.
>
> Best regards
> Uwe
I think the patch is correct. Thanks !
Reviewed-by: Michal Wilczynski <m.wilczynski@samsung.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings
2025-12-22 12:24 [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings Tamir Duberstein
2025-12-22 14:21 ` Daniel Almeida
2026-01-04 2:30 ` Tamir Duberstein
@ 2026-01-20 8:39 ` Uwe Kleine-König
2026-01-20 16:15 ` Tamir Duberstein
2 siblings, 1 reply; 11+ messages in thread
From: Uwe Kleine-König @ 2026-01-20 8:39 UTC (permalink / raw)
To: Tamir Duberstein
Cc: Drew Fustini, Guo Ren, Fu Wei, Miguel Ojeda, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
Trevor Gross, Danilo Krummrich, linux-riscv, linux-pwm,
linux-kernel, rust-for-linux, Tamir Duberstein, Michal Wilczynski
[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]
Hello,
On Mon, Dec 22, 2025 at 01:24:46PM +0100, Tamir Duberstein wrote:
> From: Tamir Duberstein <tamird@gmail.com>
>
> C-String literals were added in Rust 1.77. Replace instances of
> `kernel::c_str!` with C-String literals where possible.
>
> Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
as merge window material with the R-b tags by Michal Wilczynski and
Daniel Almeida.
(Side note, b4 told me:
✗ No key: openssh/tamird@gmail.com
. It's not clear to me how to verify this signature. My experiments
include:
$ b4 kr --show-keys 20251222-cstr-pwm-v1-1-e8916d976f8d@gmail.com
---
No keys found in the thread.
and looking at
https://lore.kernel.org/linux-pwm/20251222-cstr-pwm-v1-1-e8916d976f8d@gmail.com/raw
where I see
X-Developer-Key: i=tamird@gmail.com; a=openssh; fpr=SHA256:264rPmnnrb+ERkS7DDS3tuwqcJss/zevJRzoylqMsbc
which IIUC isn't enough to verify the next mail signed with the same
key. Am I missing something? I very appreciate signing your work, but if
there is no way for me (or anyone else) to verify it, there is no gain.)
Thanks
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings
2026-01-20 8:39 ` Uwe Kleine-König
@ 2026-01-20 16:15 ` Tamir Duberstein
2026-01-21 11:05 ` Uwe Kleine-König
0 siblings, 1 reply; 11+ messages in thread
From: Tamir Duberstein @ 2026-01-20 16:15 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Drew Fustini, Guo Ren, Fu Wei, Miguel Ojeda, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
Trevor Gross, Danilo Krummrich, linux-riscv, linux-pwm,
linux-kernel, rust-for-linux, Michal Wilczynski
On Tue, Jan 20, 2026 at 3:39 AM Uwe Kleine-König <ukleinek@kernel.org> wrote:
>
> Hello,
>
> On Mon, Dec 22, 2025 at 01:24:46PM +0100, Tamir Duberstein wrote:
> > From: Tamir Duberstein <tamird@gmail.com>
> >
> > C-String literals were added in Rust 1.77. Replace instances of
> > `kernel::c_str!` with C-String literals where possible.
> >
> > Signed-off-by: Tamir Duberstein <tamird@gmail.com>
>
> Applied to
>
> https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
>
> as merge window material with the R-b tags by Michal Wilczynski and
> Daniel Almeida.
>
> (Side note, b4 told me:
>
> ✗ No key: openssh/tamird@gmail.com
>
> . It's not clear to me how to verify this signature. My experiments
> include:
>
> $ b4 kr --show-keys 20251222-cstr-pwm-v1-1-e8916d976f8d@gmail.com
> ---
> No keys found in the thread.
>
> and looking at
> https://lore.kernel.org/linux-pwm/20251222-cstr-pwm-v1-1-e8916d976f8d@gmail.com/raw
> where I see
>
> X-Developer-Key: i=tamird@gmail.com; a=openssh; fpr=SHA256:264rPmnnrb+ERkS7DDS3tuwqcJss/zevJRzoylqMsbc
>
> which IIUC isn't enough to verify the next mail signed with the same
> key. Am I missing something? I very appreciate signing your work, but if
> there is no way for me (or anyone else) to verify it, there is no gain.)
Yep, you are right to call this out. My usual setup uses SSH keys for
commit signing, which are not part of the kernel web of trust. I
promise to start signing kernel work with my GPG key soon :)
In the meantime if you trust Github you can verify my signature
against https://github.com/tamird.keys.
Cheers.
Tamir
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings
2026-01-20 16:15 ` Tamir Duberstein
@ 2026-01-21 11:05 ` Uwe Kleine-König
0 siblings, 0 replies; 11+ messages in thread
From: Uwe Kleine-König @ 2026-01-21 11:05 UTC (permalink / raw)
To: Tamir Duberstein
Cc: Drew Fustini, Guo Ren, Fu Wei, Miguel Ojeda, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
Trevor Gross, Danilo Krummrich, linux-riscv, linux-pwm,
linux-kernel, rust-for-linux, Michal Wilczynski
[-- Attachment #1: Type: text/plain, Size: 1800 bytes --]
On Tue, Jan 20, 2026 at 11:15:56AM -0500, Tamir Duberstein wrote:
> On Tue, Jan 20, 2026 at 3:39 AM Uwe Kleine-König <ukleinek@kernel.org> wrote:
> > (Side note, b4 told me:
> >
> > ✗ No key: openssh/tamird@gmail.com
> >
> > . It's not clear to me how to verify this signature. My experiments
> > include:
> >
> > $ b4 kr --show-keys 20251222-cstr-pwm-v1-1-e8916d976f8d@gmail.com
> > ---
> > No keys found in the thread.
> >
> > and looking at
> > https://lore.kernel.org/linux-pwm/20251222-cstr-pwm-v1-1-e8916d976f8d@gmail.com/raw
> > where I see
> >
> > X-Developer-Key: i=tamird@gmail.com; a=openssh; fpr=SHA256:264rPmnnrb+ERkS7DDS3tuwqcJss/zevJRzoylqMsbc
> >
> > which IIUC isn't enough to verify the next mail signed with the same
> > key. Am I missing something? I very appreciate signing your work, but if
> > there is no way for me (or anyone else) to verify it, there is no gain.)
>
> Yep, you are right to call this out. My usual setup uses SSH keys for
> commit signing, which are not part of the kernel web of trust. I
> promise to start signing kernel work with my GPG key soon :)
While I notice that the trend goes to using ssh-keys, I still prefer
OpenPGP. So +1 on your plan.
> In the meantime if you trust Github you can verify my signature
> against https://github.com/tamird.keys.
OK, for the record:
$ curl --create-dirs -o ~/.local/share/b4/keyring/openssh/gmail.com/tamird/default https://github.com/tamird.keys
makes `b4 am
CAJ-ks9=USrGECVS1qMqs+iCKUqvOdfcjA6phAjaF0wfcTkQt_g@mail.gmail.com`
emit:
✓ Signed: openssh/tamird@gmail.com (From: tamird@kernel.org)
This looks a bit strange (because there is gmail and kernel.org), but
better than before.
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2026-01-21 11:05 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-22 12:24 [PATCH] drivers: pwm: replace `kernel::c_str!` with C-Strings Tamir Duberstein
2025-12-22 14:21 ` Daniel Almeida
2026-01-04 2:30 ` Tamir Duberstein
2026-01-19 12:54 ` Tamir Duberstein
2026-01-19 16:53 ` Uwe Kleine-König
2026-01-19 18:01 ` Miguel Ojeda
2026-01-19 18:17 ` Uwe Kleine-König
2026-01-19 21:48 ` Michal Wilczynski
2026-01-20 8:39 ` Uwe Kleine-König
2026-01-20 16:15 ` Tamir Duberstein
2026-01-21 11:05 ` Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox