[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72kB4hxsyi9D-PV0YDc9KEgfC9iYCTJVEOosZv3fg1+mYA@mail.gmail.com>
Date: Tue, 17 Jun 2025 10:02:22 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: FUJITA Tomonori <fujita.tomonori@...il.com>
Cc: boqun.feng@...il.com, linux-kernel@...r.kernel.org,
rust-for-linux@...r.kernel.org, ojeda@...nel.org, alex.gaynor@...il.com,
gary@...yguo.net, bjorn3_gh@...tonmail.com, benno.lossin@...ton.me,
a.hindborg@...sung.com, aliceryhl@...gle.com, tmgross@...ch.edu,
dakr@...nel.org, mingo@...hat.com, peterz@...radead.org,
juri.lelli@...hat.com, vincent.guittot@...aro.org, dietmar.eggemann@....com,
rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de, vschneid@...hat.com,
pmladek@...e.com, mingo@...nel.org
Subject: Re: [PATCH v3 2/2] rust: task: Add Rust version of might_sleep()
On Tue, Jun 17, 2025 at 5:05 AM FUJITA Tomonori
<fujita.tomonori@...il.com> wrote:
>
> How about adding a link to the header file where the might_sleep macro
> is defined, like this?
Sounds good to me. Though, for APIs that have rendered docs, we
typically point to those instead:
https://docs.kernel.org/driver-api/basics.html#c.might_sleep
(Ideally those kernel.org docs would then have a source view
themselves, but that is a different problem... :)
Cheers,
Miguel
Powered by blists - more mailing lists