Re: [PATCH 1/2] powerpc/module_64: Improve restore_r2() return semantics
From: Song Liu <song@kernel.org>
Date: 2023-01-25 05:54:18
Also in:
live-patching, lkml
From: Song Liu <song@kernel.org>
Date: 2023-01-25 05:54:18
Also in:
live-patching, lkml
On Tue, Jan 24, 2023 at 7:38 PM Josh Poimboeuf [off-list ref] wrote:
restore_r2() returns 1 on success, which is surprising for a non-boolean function. Change it to return 0 on success and -errno on error to match kernel coding convention. Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Acked-by: Song Liu <song@kernel.org>