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

From: Petr Mladek
Date: Wed Feb 06 2019 - 05:28:39 EST


On Tue 2019-02-05 09:59:33, Josh Poimboeuf wrote:
> 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>

I have applied the patch into for-5.1/atomic-replace branch.

Best Regards,
Petr