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

2019-02-08 Thread Miroslav Benes
On Fri, 8 Feb 2019, Kamalesh Babulal wrote: > Hi Miroslav, > > On Fri, Feb 08, 2019 at 10:24:21AM +0100, Miroslav Benes wrote: > > Hi Kamalesh, > > > > On Fri, 8 Feb 2019, Kamalesh Babulal wrote: > > > > > On Wed, Feb 06, 2019 at 11:28:32AM +0100, Petr Mladek wrote: > > > > On Tue 2019-02-05

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

2019-02-08 Thread Kamalesh Babulal
On Fri, Feb 08, 2019 at 10:34:45AM +0100, Petr Mladek wrote: > On Fri 2019-02-08 11:50:05, Kamalesh Babulal wrote: > > On Wed, Feb 06, 2019 at 11:28:32AM +0100, Petr Mladek wrote: > > > On Tue 2019-02-05 09:59:33, Josh Poimboeuf wrote: > > > > On Tue, Feb 05, 2019 at 03:33:28AM +0900, Alice

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

2019-02-08 Thread Kamalesh Babulal
Hi Miroslav, On Fri, Feb 08, 2019 at 10:24:21AM +0100, Miroslav Benes wrote: > Hi Kamalesh, > > On Fri, 8 Feb 2019, Kamalesh Babulal wrote: > > > On Wed, Feb 06, 2019 at 11:28:32AM +0100, Petr Mladek wrote: > > > On Tue 2019-02-05 09:59:33, Josh Poimboeuf wrote: > > > > On Tue, Feb 05, 2019 at

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

2019-02-08 Thread Petr Mladek
On Fri 2019-02-08 11:50:05, Kamalesh Babulal wrote: > On Wed, Feb 06, 2019 at 11:28:32AM +0100, Petr Mladek wrote: > > 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 > > > > > > > > As a result

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

2019-02-08 Thread Miroslav Benes
Hi Kamalesh, On Fri, 8 Feb 2019, Kamalesh Babulal wrote: > On Wed, Feb 06, 2019 at 11:28:32AM +0100, Petr Mladek wrote: > > 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 > > > > > > > > As a

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

2019-02-07 Thread Kamalesh Babulal
On Wed, Feb 06, 2019 at 11:28:32AM +0100, Petr Mladek wrote: > 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 > > > > > > As a result of an unsupported operation is better to use EOPNOTSUPP > > > as

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

2019-02-06 Thread Petr Mladek
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 > > > > 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

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

2019-02-05 Thread Josh Poimboeuf
On Tue, Feb 05, 2019 at 03:33:28AM +0900, Alice Ferrazzi wrote: > From: Alice Ferrazzi > > 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 Acked-by: Josh

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

2019-02-05 Thread Miroslav Benes
On Tue, 5 Feb 2019, Alice Ferrazzi wrote: > From: Alice Ferrazzi > > 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 Acked-by: Miroslav Benes Miroslav

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

2019-02-05 Thread Petr Mladek
On Tue 2019-02-05 03:33:28, Alice Ferrazzi wrote: > From: Alice Ferrazzi > > 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 Acked-by: Petr Mladek Best

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

2019-02-04 Thread Alice Ferrazzi
From: Alice Ferrazzi 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 --- Changes v1->v2: - Use EOPNOTSUPP instead of ENOTSUPP (Petr) kernel/livepatch/core.c | 2 +-