Skip to content

gendwarfksyms - improve symtypes output

Giuliano Procida linux-kbuild linux-modules lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v11 patch 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gendwarfksyms: use preferred form of sizeof for allocationscripts/gendwarfksyms/cache.c scripts/gendwarfksyms/die.c scripts/gendwarfksyms/dwarf.c +3 more+8 -81 reply
2/2gendwarfksyms: order -T symtypes output by namescripts/gendwarfksyms/types.c+26 -30 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGreg Kroah-HartmanSami Tolvanen
1/2R-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] gendwarfksyms - improve symtypes output

When investigating MODVERSIONS CRC changes from one build to the next, we need to diff corresponding symtypes files. However, gendwarfksyms did not order these files.

The first change in this series makes gendwarfksyms code conform to the preferred style for the size parameter passed to allocation functions.

https://github.com/torvalds/linux/blob/v6.15/Documentation/process/coding-style.rst?plain=1#L941

The second change in this series ensures symtypes are output in key order.

The series is marked as v2 to distinguish it from earlier versions where the changes were posted individually.

Giuliano Procida (2):
gendwarfksyms: use preferred form of sizeof for allocation
gendwarfksyms: order -T symtypes output by name

 scripts/gendwarfksyms/cache.c   |  2 +-
 scripts/gendwarfksyms/die.c     |  4 ++--
 scripts/gendwarfksyms/dwarf.c   |  2 +-
 scripts/gendwarfksyms/kabi.c    |  2 +-
 scripts/gendwarfksyms/symbols.c |  2 +-
 scripts/gendwarfksyms/types.c   | 33 ++++++++++++++++++++++++++++-----
 6 files changed, 34 insertions(+), 11 deletions(-)
Signature · 1 line
2.50.0.727.gbf7dc18ff4-goog