aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/pci.c
diff options
context:
space:
mode:
authorMiguel Ojeda <[email protected]>2025-07-01 17:46:56 +0000
committerGreg Kroah-Hartman <[email protected]>2025-07-03 17:18:59 +0000
commit97ba207a994f7d0cc58f19d448e98db6735f5e77 (patch)
tree2dab90d7449bd17daca2969d7fb41b8a8cbf543a /rust/helpers/pci.c
parentdevice property: Use tidy for_each_named_* macros (diff)
downloadkernel-97ba207a994f7d0cc58f19d448e98db6735f5e77.tar.gz
kernel-97ba207a994f7d0cc58f19d448e98db6735f5e77.zip
rust: acpi: remove unneeded cast to clean future Clippy warning
A future Clippy warning, `clippy::as_underscore`, is getting enabled in parallel in the rust-next tree: error: using `as _` conversion --> rust/kernel/acpi.rs:25:9 | 25 | self.0.driver_data as _ | ^^^^^^^^^^^^^^^^^^^^^^- | | | help: consider giving the type explicitly: `usize` The type is already `ulong`, which nowadays is always `usize`, so the cast is unneeded. Thus remove it, which in turn will avoid the warning in the future. Other abstractions of device tables do not use a cast here either. Signed-off-by: Miguel Ojeda <[email protected]> Reviewed-by: Trevor Gross <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions