summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorDavid Gow <davidgow@google.com>2023-02-15 06:47:35 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-26 14:28:38 +0200
commit55fba69fbfd04cfa81ecbdb8c56e6b9f02123cd2 (patch)
tree1e3a24e94381a2a2974372efbdc803e8cd5fe8f8 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parente19ebc5f9a711fb97835068660fd0bc43aad0f92 (diff)
rust: kernel: Mark rust_fmt_argument as extern "C"
commit c682e4c37d2b8ba3bde1125cbbea4ee88824b4e2 upstream. The rust_fmt_argument function is called from printk() to handle the %pA format specifier. Since it's called from C, we should mark it extern "C" to make sure it's ABI compatible. Cc: stable@vger.kernel.org Fixes: 247b365dc8dc ("rust: add `kernel` crate") Signed-off-by: David Gow <davidgow@google.com> Reviewed-by: Gary Guo <gary@garyguo.net> Reviewed-by: Björn Roy Baron <bjorn3_gh@protonmail.com> Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com> [Applied `rustfmt`] Signed-off-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions