[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <CQV7W12MZX16.PLH1OAM17G7N@vincent-arch>
Date: Wed, 01 Mar 2023 18:19:41 +0100
From: "Vincenzo Palazzo" <vincenzopalazzodev@...il.com>
To: "Asahi Lina" <lina@...hilina.net>,
"Miguel Ojeda" <ojeda@...nel.org>,
"Alex Gaynor" <alex.gaynor@...il.com>,
"Wedson Almeida Filho" <wedsonaf@...il.com>,
"Boqun Feng" <boqun.feng@...il.com>, "Gary Guo" <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>
Cc: <rust-for-linux@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<asahi@...ts.linux.dev>, "Finn Behrens" <me@...enk.dev>,
"Sumera Priyadarsini" <sylphrenadin@...il.com>
Subject: Re: [PATCH 3/3] rust: macros: Allow specifying multiple module
aliases
> Modules can (and usually do) have multiple alias tags, in order to
> specify multiple possible device matches for autoloading. Allow this by
> changing the alias ModuleInfo field to an Option<Vec<String>>.
>
> Note: For normal device IDs this is autogenerated by modpost (which is
> not properly integrated with Rust support yet), so it is useful to be
> able to manually add device match aliases for now, and should still be
> useful in the future for corner cases that modpost does not handle.
>
> This pulls in the expect_group() helper from the rfl/rust branch
> (with credit to authors).
>
> Co-developed-by: Miguel Ojeda <ojeda@...nel.org>
> Signed-off-by: Miguel Ojeda <ojeda@...nel.org>
> Co-developed-by: Finn Behrens <me@...enk.dev>
> Signed-off-by: Finn Behrens <me@...enk.dev>
> Co-developed-by: Sumera Priyadarsini <sylphrenadin@...il.com>
> Signed-off-by: Sumera Priyadarsini <sylphrenadin@...il.com>
> Signed-off-by: Asahi Lina <lina@...hilina.net>
> ---
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@...il.com>
Powered by blists - more mailing lists