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 <mbe...@suse.cz>
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 <pmla...@suse.com> Best Regards, Petr