Re: [PATCH] rust: kernel: Mark rust_fmt_argument as extern "C"
From: Miguel Ojeda
Date: Thu Apr 06 2023 - 17:09:22 EST
On Tue, Feb 14, 2023 at 11:47 PM David Gow <davidgow@xxxxxxxxxx> wrote:
>
> 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.
Applied to `rust-fixes`, thanks!
Cheers,
Miguel