Thread (18 messages) 18 messages, 7 authors, 2023-02-05

Re: [PATCH 1/2] powerpc/module_64: Improve restore_r2() return semantics

From: Miroslav Benes <mbenes@suse.cz>
Date: 2023-01-27 12:40:48
Also in: live-patching, lkml

On Tue, 24 Jan 2023, Josh Poimboeuf 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>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>

M
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help