aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorBenno Lossin <[email protected]>2023-04-24 08:11:33 +0000
committerMiguel Ojeda <[email protected]>2023-05-31 18:53:09 +0200
commitb8342addded0099610902775617917fdee6edde8 (patch)
treec4caeb5d356eef5b5b13ea93977d4d28aa6a35ef /scripts/gdb/linux/modules.py
parent6883b29c6cae6077a095fac0ef69f30d0880d362 (diff)
rust: macros: fix usage of `#[allow]` in `quote!`
When using `quote!` as part of an expression that was not the last one in a function, the `#[allow(clippy::vec_init_then_push)]` attribute would be present on an expression, which is not allowed. This patch refactors that part of the macro to use a statement instead. Signed-off-by: Benno Lossin <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Reviewed-by: Martin Rodriguez Reboredo <[email protected]> Reviewed-by: Gary Guo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions