From: Giuliano Procida <gprocida@google.com>
To: Masahiro Yamada <masahiroy@kernel.org>,
Sami Tolvanen <samitolvanen@google.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Giuliano Procida <gprocida@google.com>,
linux-modules@vger.kernel.org, linux-kbuild@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] gendwarfksyms - improve symtypes output
Date: Tue, 1 Jul 2025 16:19:09 +0100 [thread overview]
Message-ID: <20250701152000.2477659-1-gprocida@google.com> (raw)
In-Reply-To: <CAK7LNASzE1CtRo9T4byPXJtB-HtuWsGe=OLba+8JU9fB28Chow@mail.gmail.com>
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
next parent reply other threads:[~2025-07-01 15:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAK7LNASzE1CtRo9T4byPXJtB-HtuWsGe=OLba+8JU9fB28Chow@mail.gmail.com>
2025-07-01 15:19 ` Giuliano Procida [this message]
2025-07-01 15:19 ` [PATCH v2 1/2] gendwarfksyms: use preferred form of sizeof for allocation Giuliano Procida
2025-07-01 17:06 ` Sami Tolvanen
2025-07-01 15:19 ` [PATCH v2 2/2] gendwarfksyms: order -T symtypes output by name Giuliano Procida
2025-07-02 2:30 ` [PATCH v2 0/2] gendwarfksyms - improve symtypes output Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250701152000.2477659-1-gprocida@google.com \
--to=gprocida@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-modules@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=samitolvanen@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).