Re: [PATCH] drm/doc: Document ioctl errno value patterns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 18 August 2017 at 10:21, Daniel Vetter <daniel.vetter@xxxxxxxx> wrote:
> +Recommended IOCTL Return Values
> +===============================
> +
> +In theory a driver's IOCTL callback is only allowed to return very few error
> +codes. In practice it's good to abuse a few more. This section documents common
> +practice within the DRM subsystem:
> +
> +ENOENT:
> +        Strictly speaking only when you try to open isn't there.

There's a word from this sentence.

> +        We reuse that
> +        to signal any kind of object lookup failure, e.g. for unknown GEM buffer
> +        object handles, unknown KMS object handles and similar cases.
> +
> +ENOSPC:
> +        Some drivers use this to differiante

'differentiate'

Cheers,
Daniel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux