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(-) -- 2.50.0.727.gbf7dc18ff4-goog