public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Alice Ryhl <aliceryhl@google•com>
To: Gary Guo <gary@garyguo•net>
Cc: "Miguel Ojeda" <ojeda@kernel•org>,
	"Boqun Feng" <boqun@kernel•org>,
	"Björn Roy Baron" <bjorn3_gh@protonmail•com>,
	"Benno Lossin" <lossin@kernel•org>,
	"Andreas Hindborg" <a.hindborg@kernel•org>,
	"Trevor Gross" <tmgross@umich•edu>,
	"Danilo Krummrich" <dakr@kernel•org>,
	"Alexandre Courbot" <acourbot@nvidia•com>,
	"David Airlie" <airlied@gmail•com>,
	"Simona Vetter" <simona@ffwll•ch>,
	"Abdiel Janulgue" <abdiel.janulgue@gmail•com>,
	"Daniel Almeida" <daniel.almeida@collabora•com>,
	"Robin Murphy" <robin.murphy@arm•com>,
	"FUJITA Tomonori" <fujita.tomonori@gmail•com>,
	"Yury Norov" <yury.norov@gmail•com>,
	"Will Deacon" <will@kernel•org>,
	"Peter Zijlstra" <peterz@infradead•org>,
	"Mark Rutland" <mark.rutland@arm•com>,
	"Ingo Molnar" <mingo@redhat•com>,
	"Waiman Long" <longman@redhat•com>,
	"Tamir Duberstein" <tamird@kernel•org>,
	"Yury Norov" <ynorov@nvidia•com>,
	rust-for-linux@vger•kernel.org, nouveau@lists•freedesktop.org,
	dri-devel@lists•freedesktop.org, linux-kernel@vger•kernel.org,
	driver-core@lists•linux.dev, netdev@vger•kernel.org
Subject: Re: [PATCH v3 4/4] rust: make `build_assert` module the home of related macros
Date: Thu, 19 Mar 2026 14:33:19 +0000	[thread overview]
Message-ID: <abwJL2OTFzSFdVxt@google.com> (raw)
In-Reply-To: <20260319121653.2975748-5-gary@kernel.org>

On Thu, Mar 19, 2026 at 12:16:48PM +0000, Gary Guo wrote:
> From: Gary Guo <gary@garyguo•net>
> 
> Given the macro scoping rules, all macros are rendered 3 times, in the
> module, in the top-level of kernel crate, and in the prelude.
> 
> Add `#[doc(no_inline)]` to the prelude so it just shows up as re-export.
> Add `#[doc(hidden)]` to the macro definition and `#[doc(inline)]` to the
> re-export inside `build_assert` module so the top-level items are hidden.
> 
> Signed-off-by: Gary Guo <gary@garyguo•net>

Reviewed-by: Alice Ryhl <aliceryhl@google•com>

  parent reply	other threads:[~2026-03-19 14:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260319121653.2975748-1-gary@kernel.org>
2026-03-19 12:16 ` [PATCH v3 4/4] rust: make `build_assert` module the home of related macros Gary Guo
2026-03-19 14:14   ` Danilo Krummrich
2026-03-19 14:33   ` Alice Ryhl [this message]
2026-03-21 13:05   ` Alexandre Courbot
2026-03-21 13:32     ` Gary Guo
2026-03-21 13:41       ` Miguel Ojeda
2026-03-22 23:36   ` Miguel Ojeda
2026-03-23  1:08     ` Alexandre Courbot
2026-03-23  1:38       ` Miguel Ojeda
2026-03-23  1:50         ` Alexandre Courbot
2026-03-26 12:09     ` FUJITA Tomonori
2026-03-27 18:42     ` Boqun Feng
2026-03-23  0:15   ` Tamir Duberstein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=abwJL2OTFzSFdVxt@google.com \
    --to=aliceryhl@google$(echo .)com \
    --cc=a.hindborg@kernel$(echo .)org \
    --cc=abdiel.janulgue@gmail$(echo .)com \
    --cc=acourbot@nvidia$(echo .)com \
    --cc=airlied@gmail$(echo .)com \
    --cc=bjorn3_gh@protonmail$(echo .)com \
    --cc=boqun@kernel$(echo .)org \
    --cc=dakr@kernel$(echo .)org \
    --cc=daniel.almeida@collabora$(echo .)com \
    --cc=dri-devel@lists$(echo .)freedesktop.org \
    --cc=driver-core@lists$(echo .)linux.dev \
    --cc=fujita.tomonori@gmail$(echo .)com \
    --cc=gary@garyguo$(echo .)net \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=longman@redhat$(echo .)com \
    --cc=lossin@kernel$(echo .)org \
    --cc=mark.rutland@arm$(echo .)com \
    --cc=mingo@redhat$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=nouveau@lists$(echo .)freedesktop.org \
    --cc=ojeda@kernel$(echo .)org \
    --cc=peterz@infradead$(echo .)org \
    --cc=robin.murphy@arm$(echo .)com \
    --cc=rust-for-linux@vger$(echo .)kernel.org \
    --cc=simona@ffwll$(echo .)ch \
    --cc=tamird@kernel$(echo .)org \
    --cc=tmgross@umich$(echo .)edu \
    --cc=will@kernel$(echo .)org \
    --cc=ynorov@nvidia$(echo .)com \
    --cc=yury.norov@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox