Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust: kernel: Mark rust_fmt_argument as extern "C" #967

Closed
wants to merge 1 commit into from

Commits on Feb 14, 2023

  1. rust: kernel: Mark rust_fmt_argument as extern "C"

    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: 247b365 ("rust: add `kernel` crate")
    Signed-off-by: David Gow <davidgow@google.com>
    sulix committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    175a53c View commit details
    Browse the repository at this point in the history