Re: [PATCH v2 39/53] objtool/klp: Extricate checksum calculation from validate_branch()
From: Miroslav Benes
Date: Tue May 05 2026 - 07:48:35 EST
On Thu, 30 Apr 2026 21:08:27 -0700, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> In preparation for porting the checksum code to other arches, make its
> functionality independent from the CFG reverse engineering code.
>
> Move it into a standalone calculate_checksums() function which iterates
> all functions and instructions directly, rather than being called inline
> from do_validate_branch().
>
> [...]
Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>
--
Miroslav