linux/drivers/staging
Piro Yang 07c1243457 staging: vme_user: Fix the issue of return the wrong error code
[ Upstream commit 5090a4bc2a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-02-05 20:17:04 +00:00
..
axis-fifo staging: Explicitly include correct DT includes 2023-07-27 10:01:07 +02:00
board staging: board: Fix uninitialized spinlock when attaching genpd 2021-07-21 11:22:15 +02:00
emxx_udc staging: emxx_udc: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
fbtft Staging driver updates for 6.7-rc1 2023-11-03 15:31:04 -10:00
fieldbus staging: fieldbus: make controller_class constant 2023-10-06 15:38:17 +02:00
gdm724x staging: gdm724x: Add blank line after declaration 2023-10-21 12:00:24 +02:00
greybus pwm: Changes for v6.7-rc1 2023-11-09 13:47:52 -08:00
iio iio: resolver: ad2s1210: move out of staging 2023-10-12 09:20:50 +01:00
ks7010 staging: ks7010: disable bh on tx_dev_lock 2023-10-05 09:58:12 +02:00
media media: rkvdec: Hook the (TRY_)DECODER_CMD stateless ioctls 2024-01-25 15:44:58 -08:00
most staging: Explicitly include correct DT includes 2023-07-27 10:01:07 +02:00
nvec staging: nvec_ps2: Convert to platform remove callback returning void 2023-04-03 21:49:55 +02:00
octeon Revert "staging: octeon: remove typedef in enum cvmx_spi_mode_t" 2023-10-30 09:56:27 +01:00
olpc_dcon staging: olpc_dcon: Remove I2C_CLASS_DDC support 2023-10-27 13:10:05 +02:00
pi433 staging: pi433: make pi433_class constant 2023-10-06 15:38:34 +02:00
rtl8192e staging: rtl8192e: Fix line break issue at priv->rx_buf[priv->rx_idx] 2023-10-27 13:09:02 +02:00
rtl8712 staging: rtl8712: fix race condition 2023-08-04 16:20:13 +02:00
rtl8723bs Staging driver updates for 6.7-rc1 2023-11-03 15:31:04 -10:00
rts5208 staging: rts5208: Remove macros scsi_lock(), scsi_unlock() 2023-10-15 18:20:35 +02:00
sm750fb staging: sm750fb: Remove unused return variable in program_mode_registers() 2023-10-21 12:01:01 +02:00
vc04_services staging: vc04_services: Do not pass NULL to vchiq_log_error() 2024-01-25 15:45:20 -08:00
vme_user staging: vme_user: Fix the issue of return the wrong error code 2024-02-05 20:17:04 +00:00
vt6655 staging: vt6655: Type encoding info dropped from variable name "byRxRate" 2023-10-27 13:11:00 +02:00
vt6656 staging: vt6656: remove unused vnt_get_current_tsf() function 2023-03-17 08:07:23 +01:00
wlan-ng staging: wlan-ng: remove function prism2sta_ev_txexc 2023-10-17 15:43:52 +02:00
Kconfig staging: qlge: Retire the driver 2023-10-21 11:52:54 +02:00
Makefile staging: qlge: Retire the driver 2023-10-21 11:52:54 +02:00