Re: [RFC PATCH v2 2/3] livepatch: Unify functions for writing and clearing object relocations

From: Petr Mladek
Date: Wed Oct 02 2019 - 09:35:57 EST


On Thu 2019-09-05 14:45:13, Miroslav Benes wrote:
> Functions klp_write_object_relocations() and
> klp_clear_object_relocations() share a lot of code. Take the code out to
> a common function and provide the specific actions through callbacks.
>
> Signed-off-by: Miroslav Benes <mbenes@xxxxxxx>

I would prefer when the callback is introduced before the 1st patch.
I do not resist on it. This patch looks good, so:

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr