[Devel] [PATCH hci-8.1 08/14] ms/objtool: Fix data alignment in elf_add_data()

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Tue Dec 1 03:39:17 MSK 2026


> From: Josh Poimboeuf <jpoimboe at kernel.org>
> 
> Any data added to a section needs to be aligned in accordance with the
> section's sh_addralign value.  Particularly strings added to a .str1.8
> section.  Otherwise you may get some funky strings.
> 
> Fixes: dd590d4d57eb ("objtool/klp: Introduce klp diff subcommand for diffing object files")
> Link: https://patch.msgid.link/d962fc0ca24fa0825cca8dad71932dccdd9312a9.1772681234.git.jpoimboe@kernel.org
> Signed-off-by: Josh Poimboeuf <jpoimboe at kernel.org>
> (cherry picked from commit 356e4b2f5b80f757965f3f4d0219c81fca91b6f2)
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-157133
> Feature: klp-build support
> Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>

Sashiko has reviewed this patch and found no issues.

Carry the trailer below into the next revision and Sashiko will not review this patch again.

Reviewed-by: Sashiko <no-reply at sashiko.virtuozzo.com>

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261126-khorenko-vstor-157133-klp-and-kvm-fixes-v1-0-0ec8eaadf1bc@virtuozzo.com?part=8




More information about the Devel mailing list