[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230714140201.383439-1-aliceryhl@google.com>
Date: Fri, 14 Jul 2023 14:02:01 +0000
From: Alice Ryhl <aliceryhl@...gle.com>
To: ariel.miculas@...il.com
Cc: alex.gaynor@...il.com, asahi@...ts.linux.dev,
benno.lossin@...ton.me, bjorn3_gh@...tonmail.com,
boqun.feng@...il.com, gary@...yguo.net, lina@...hilina.net,
linux-kernel@...r.kernel.org, ojeda@...nel.org,
rust-for-linux@...r.kernel.org, wedsonaf@...il.com
Subject: Re: [PATCH] rust: kernel: str: Implement Debug for CString
Asahi Lina <lina@...hilina.net> writes:
> On 14/07/2023 18.48, Alice Ryhl wrote:
>> Asahi Lina <lina@...hilina.net> writes:
>>> Trivial implementation.
>>>
>>> Signed-off-by: Asahi Lina <lina@...hilina.net>
>>
>> The commit message is a bit short, but the change itself looks fine.
>>
>> Reviewed-by: Alice Ryhl <aliceryhl@...gle.com>
>
> It's so trivial I just didn't know what else to write... suggestions
> welcome (for this or next time I have a patch like this) ^^
>
> ~ Lina
Adding some sort of motivation usually works quite well, e.g.:
Make it possible to use a CString with the `pr_*` macros directly, that
is, instead of
pr_debug!("trying to open {:?}\n", &*filename);
we can now write
pr_debug!("trying to open {:?}\n", filename);
Alice
Powered by blists - more mailing lists