Re: [PATCH v3 2/2] rust: task: Add Rust version of might_sleep()

From: Miguel Ojeda
Date: Tue Jun 17 2025 - 04:09:46 EST


On Tue, Jun 17, 2025 at 5:05 AM FUJITA Tomonori
<fujita.tomonori@xxxxxxxxx> 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