Re: [PATCH v2] livepatch: core: Return EOPNOTSUPP instead of ENOSYS

From: Josh Poimboeuf
Date: Tue Feb 05 2019 - 10:59:38 EST


On Tue, Feb 05, 2019 at 03:33:28AM +0900, Alice Ferrazzi wrote:
> From: Alice Ferrazzi <alice.ferrazzi@xxxxxxxxxxxxxxxx>
>
> As a result of an unsupported operation is better to use EOPNOTSUPP
> as error code.
> ENOSYS is only used for 'invalid syscall nr' and nothing else.
>
> Signed-off-by: Alice Ferrazzi <alice.ferrazzi@xxxxxxxxxxxxxxxx>

Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

--
Josh