aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorDavid Gow <[email protected]>2023-02-15 06:47:35 +0800
committerMiguel Ojeda <[email protected]>2023-04-06 23:11:04 +0200
commitc682e4c37d2b8ba3bde1125cbbea4ee88824b4e2 (patch)
tree8b5f155eb8e34da3486cb884726a2ea39be05f46 /scripts/gdb/linux/lists.py
parente5e86572e3f20222b5d308df9ae986c06f229321 (diff)
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: [email protected] Fixes: 247b365dc8dc ("rust: add `kernel` crate") Signed-off-by: David Gow <[email protected]> Reviewed-by: Gary Guo <[email protected]> Reviewed-by: Björn Roy Baron <[email protected]> Reviewed-by: Vincenzo Palazzo <[email protected]> [Applied `rustfmt`] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions