Re: [PATCH] livepatch: Call klp_match_callback() in klp_find_callback() to avoid code duplication

From: Song Liu
Date: Thu Dec 08 2022 - 19:11:38 EST


On Tue, Dec 6, 2022 at 7:25 PM Zhen Lei <thunder.leizhen@xxxxxxxxxx> wrote:
>
> The implementation of function klp_match_callback() is identical to the
> partial implementation of function klp_find_callback(). So call function
> klp_match_callback() in function klp_find_callback() instead of the
> duplicated code.
>
> Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx>

Acked-by: Song Liu <song@xxxxxxxxxx>