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

From: Petr Mladek
Date: Fri Dec 09 2022 - 04:12:54 EST


On Wed 2022-12-07 11:23:04, Zhen Lei 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>

Thanks for cleaning this.

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr