diff options
author | 2019-02-05 03:33:28 +0900 | |
---|---|---|
committer | 2019-02-06 10:43:57 +0100 | |
commit | 375bfca3459db1c5596c28c56d2ebac26e51c7b3 (patch) | |
tree | 4558b757a97feab380c8f4b7690b0c2ca3b9f60b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | selftests/livepatch: add DYNAMIC_DEBUG config dependency (diff) | |
download | wireguard-linux-375bfca3459db1c5596c28c56d2ebac26e51c7b3.tar.xz wireguard-linux-375bfca3459db1c5596c28c56d2ebac26e51c7b3.zip |
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: Alice Ferrazzi <alice.ferrazzi@miraclelinux.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions