Skip to content
Commit 375bfca3 authored by Alice Ferrazzi's avatar Alice Ferrazzi Committed by Petr Mladek
Browse files

livepatch: core: Return EOPNOTSUPP instead of ENOSYS



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: default avatarAlice Ferrazzi <alice.ferrazzi@miraclelinux.com>
Acked-by: default avatarMiroslav Benes <mbenes@suse.cz>
Acked-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
parent bae05437
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment