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

From: Mike Rapoport

Date: Wed Apr 15 2026 - 11:36:21 EST


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@xxxxxxxxxx>
> Reviewed-by: Pratyush Yadav (Google) <pratyush@xxxxxxxxxx>

Reviewed-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>

> ---
> 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.