summaryrefslogtreecommitdiff
path: root/drivers/platform/wmi/tests/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2026-03-30 21:50:46 -0700
committerJosh Poimboeuf <jpoimboe@kernel.org>2026-05-04 21:16:04 -0700
commit9e4512d7de5ab27c1b0c3891f7a0e9202a5a2eef (patch)
tree0f01dc9e0560ef03b39156e40fd3f664b02919ef /drivers/platform/wmi/tests/git@git.tavy.me:linux.git
parentac999926774a71e30c2e2e2eb48d5419dc167781 (diff)
objtool/klp: Create empty checksum sections for function-less object files
If an object file has no functions, objtool has nothing to checksum, so it doesn't create the .discard.sym_checksum symbol. Then when 'objtool klp diff' reads symbol checksums, it errors out due to the missing .discard.sym_checksum section. Instead, just create an empty checksum section to signal to read_sym_checksums() that the file has been processed. Acked-by: Song Liu <song@kernel.org> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'drivers/platform/wmi/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions