]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/doc: Document ioctl errno value patterns
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 18 Aug 2017 17:43:28 +0000 (19:43 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Aug 2017 13:09:26 +0000 (15:09 +0200)
commit371cadd8c48c8766ec3e3ca3e0d0a6261f2a8cc0
treee6a9a01d0249cd7ce336e98850412aed83797cf7
parent25a8ef26fd47e4b60cfae094a43ad9bfc49e676b
drm/doc: Document ioctl errno value patterns

We're not super-consistent about these, but I think it's worth to
document at least the commmon patterns.

v2:
- Add a not about ENOTTY (it's just a confusing name, but used
exactly what it's meant for in DRM) (Chris).
- Unconfuse the text for ENODEV (Daniel)
- Move text undert the IOCTL heading (Chris).
- typos

Cc: Daniel Stone <daniel@fooishbar.org>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: "Zhang, Tina" <tina.zhang@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170818174328.6386-1-daniel.vetter@ffwll.ch
Documentation/gpu/drm-uapi.rst