[Devel] [PATCH hci-8.2 03/17] ms/objtool: Fix data alignment in elf_add_data()

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Tue Nov 24 08:11:03 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-128510
> Feature: klp-build support
> 
> Signed-off-by: Eva Kurchatova <eva.kurchatova 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/20261124050655.1853940-1-eva.kurchatova@virtuozzo.com?part=3




More information about the Devel mailing list