summaryrefslogtreecommitdiff
path: root/drivers/misc/habanalabs/include
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@kernel.org>2021-12-19 16:06:59 +0200
committerOded Gabbay <ogabbay@kernel.org>2021-12-26 08:59:10 +0200
commit519f4ed0a09cdf3834c5cbde1416acd9a979a709 (patch)
treea9f49dd97437cb129801cf1883d7daf7c829a614 /drivers/misc/habanalabs/include
parent0a63ac769b4cb79dfe68efd06528e9174fb88162 (diff)
downloadlwn-519f4ed0a09cdf3834c5cbde1416acd9a979a709.tar.gz
lwn-519f4ed0a09cdf3834c5cbde1416acd9a979a709.zip
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 <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/include')
0 files changed, 0 insertions, 0 deletions