diff options
author | Piro Yang <piroyangg@gmail.com> | 2023-12-20 01:04:47 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-23 14:08:38 +0100 |
commit | 5090a4bc2a2f04b7693b49500ad1287e8d0fb6c3 (patch) | |
tree | 0d17a3b77a18175499116b3a86ae5b6482200a0b /tools/perf/scripts/python/gecko.py | |
parent | 7f2c9c0bb8d575ed289943ad782776649343ee7e (diff) |
staging: vme_user: Fix the issue of return the wrong error code
Fix the issue of returning the -ENOSYS error code when an error occurs.
The error code of -ENOSYS indicates Invalid system call number, but
there is not system call error. So replace -ENOSYS error code by the
return -EINVAL error code.
Signed-off-by: Piro Yang <piroyangg@gmail.com>
Link: https://lore.kernel.org/r/20231219170447.51237-1-piroyangg@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions