Re: [PATCH v4 09/11] liveupdate: Make unregister functions return void

Mike Rapoport
2026-04-15T15:34:06Z

On Mon, Apr 13, 2026 at 06:51:25PM +0000, Pasha Tatashin wrote:
> Change liveupdate_unregister_file_handler and liveupdate_unregister_flb
> to return void instead of an error code. This follows the design
> principle that unregistration during module unload should not fail,
> as the unload cannot be stopped at that point.
>
> Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
> Reviewed-by: Pratyush Yadav (Google) <pratyush@kernel.org>

Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>

> ---
> include/linux/liveupdate.h | 14 ++++++--------
> kernel/liveupdate/luo_file.c | 14 ++------------
> kernel/liveupdate/luo_flb.c | 11 +++--------
> 3 files changed, 11 insertions(+), 28 deletions(-)

--
Sincerely yours,
Mike.