• Oded Gabbay's avatar
    habanalabs: replace some -ENOTTY with -EINVAL · 519f4ed0
    Oded Gabbay authored
    -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: default avatarOded Gabbay <ogabbay@kernel.org>
    519f4ed0
memory.c 74.4 KB