[Devel] [PATCH hci-8.2 11/17] ms/objtool/klp: Simplify reloc symbol conversion

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Tue Nov 24 08:13:39 MSK 2026


> From: Josh Poimboeuf <jpoimboe at kernel.org>
> 
> Inline section_reference_needed() and is_reloc_allowed() into
> convert_reloc_sym() and remove the redundant is_reloc_allowed() check in
> clone_reloc().
> 
> Move the is_sec_sym() checks into the convert callees so they become
> no-ops when the reloc is already in the right format.  This allows
> convert_reloc_sym() to unconditionally dispatch to the right converter
> based on section type.
> 
> 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 8fdc3585b3b09f2c55d8573edc6a1dbfeb728f03)
> 
> 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=11




More information about the Devel mailing list