aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorEthan Carter Edwards <[email protected]>2025-03-10 19:51:38 +0000
committerGreg Kroah-Hartman <[email protected]>2025-03-11 09:42:23 +0000
commit10b20f2d1bbeddcb6c1f6c01b6eb1b8d2828b663 (patch)
tree488c8ffa4c5bb341b446b4aef758ed0de3d10993 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentMerge 6.14-rc6 into driver-core-next (diff)
downloadkernel-10b20f2d1bbeddcb6c1f6c01b6eb1b8d2828b663.tar.gz
kernel-10b20f2d1bbeddcb6c1f6c01b6eb1b8d2828b663.zip
rust/kernel/faux: mark Registration methods inline
When building the kernel on Arch Linux using on x86_64 with tools: $ rustc --version rustc 1.84.0 (9fc6b4312 2025-01-07) $ clang --version clang version 19.1.7 Target: x86_64-pc-linux-gnu The following symbols are generated: $ nm vmlinux | rg ' _R' | rustfilt | rg faux ffffffff81959ae0 T <kernel::faux::Registration>::new ffffffff81959b40 T <kernel::faux::Registration as core::ops::drop::Drop>::drop However, these Rust symbols are wrappers around bindings in the C faux code. Inlining these functions removes the middle-man wrapper function After applying this patch, the above function signatures disappear. Link: https://github.com/Rust-for-Linux/linux/issues/1145 Signed-off-by: Ethan Carter Edwards <[email protected]> Acked-by: Danilo Krummrich <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/jesg4yu7m6fvzmgg5tlsktrrjm36l4qsranto5mdmnucx4pvf3@nhvt4juw5es3 Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions