Skip to content

clean up EXPORT_SYMBOL_RUST_GPL

Giuliano Procida linux-modules rust-for-linux 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 2 repliesIn review
  2. v42 patches 5 repliesSuperseded
  3. v32 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v22 patches0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kbuild: respect skip_gendwarfksyms in cmd_gensymtypes_Sscripts/Makefile.build+2 -20 replies
2/4rust: convert exports.c to assemblyrust/Makefile rust/exports.S+6 -81 reply
3/4gpu: nova-core: convert nova_core_exports.c to assemblydrivers/gpu/Makefile drivers/gpu/nova-core/nova_core_exports.S+9 -100 replies
4/4scripts/sbom: update rust export macro in nm parser testscripts/sbom/tests/cmd_graph/test_savedcmd_parser.py+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/4] clean up EXPORT_SYMBOL_RUST_GPL

This is a complete rework of the previous series to switch to assembly as suggested by Gary Guo <[email protected]> in a review comment.

The first change in this series is a miniscule safety fix that will be obsoleted once the Nova driver Rust symbol handling is itself cleaned up.

The second and third changes switch symbol export to assembly.

The fourth change tweaks a related test file.

Giuliano Procida (4):
kbuild: respect skip_gendwarfksyms in cmd_gensymtypes_S
rust: convert exports.c to assembly
gpu: nova-core: convert nova_core_exports.c to assembly scripts/sbom: update rust export macro in nm parser test

 drivers/gpu/Makefile                                 | 11 ++++++-----
 .../{nova_core_exports.c => nova_core_exports.S}     |  8 +++-----
 rust/Makefile                                        |  2 +-
 rust/{exports.c => exports.S}                        | 12 +++++-------
 scripts/Makefile.build                               |  4 ++--
 scripts/sbom/tests/cmd_graph/test_savedcmd_parser.py |  2 +-
 6 files changed, 18 insertions(+), 21 deletions(-)
 rename drivers/gpu/nova-core/{nova_core_exports.c => nova_core_exports.S} (62%)
 rename rust/{exports.c => exports.S} (72%)
Signature · 1 line
2.56.0.567.gdb80ae8cd5-goog