]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rust: remove `params` from `module` macro example
authorAswin Unnikrishnan <aswinunni01@gmail.com>
Fri, 19 Apr 2024 21:50:13 +0000 (21:50 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2024 14:32:42 +0000 (16:32 +0200)
commitece94c74e4bfd91e1b7b61e3ea4fcf95d3d9b4b2
tree71407a250469ea26115f745ce3d577352303d610
parent4805d764f9041799a559dc2b112f227dcd26d599
rust: remove `params` from `module` macro example

commit 19843452dca40e28d6d3f4793d998b681d505c7f upstream.

Remove argument `params` from the `module` macro example, because the
macro does not currently support module parameters since it was not sent
with the initial merge.

Signed-off-by: Aswin Unnikrishnan <aswinunni01@gmail.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Cc: stable@vger.kernel.org
Fixes: 1fbde52bde73 ("rust: add `macros` crate")
Link: https://lore.kernel.org/r/20240419215015.157258-1-aswinunni01@gmail.com
[ Reworded slightly. ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
rust/macros/lib.rs