diff options
author | Oded Gabbay <[email protected]> | 2021-12-19 16:06:59 +0200 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2021-12-26 08:59:10 +0200 |
commit | 519f4ed0a09cdf3834c5cbde1416acd9a979a709 (patch) | |
tree | a9f49dd97437cb129801cf1883d7daf7c829a614 /lib/mpi/mpi-add.c | |
parent | 0a63ac769b4cb79dfe68efd06528e9174fb88162 (diff) |
habanalabs: replace some -ENOTTY with -EINVAL
-ENOTTY is returned in case of error in the ioctl arguments themselves,
such as function that doesn't exists.
In all other cases, where the error is in the arguments of the custom
data structures that we define that are passed in the various ioctls,
we need to return -EINVAL.
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions