[Devel] [PATCH hci-8.2 07/17] ms/objtool/klp: Fix handling of zero-length .altinstr_replacement sections

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Tue Nov 24 08:12:11 MSK 2026


> From: Josh Poimboeuf <jpoimboe at kernel.org>
> 
> When a section is empty (e.g. only zero-length alternative
> replacements), there are no symbols to convert a section symbol
> reference to.  Skip the reloc instead of erroring out.
> 
> Fixes: dd590d4d57eb ("objtool/klp: Introduce klp diff subcommand for diffing object files")
> Acked-by: Song Liu <song at kernel.org>
> Reviewed-by: Miroslav Benes <mbenes at suse.cz>
> Signed-off-by: Josh Poimboeuf <jpoimboe at kernel.org>
> (cherry picked from commit c4c02d4450b5b7e2fbde578252f71a5697180112)
> 
> 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=7




More information about the Devel mailing list