diff options
Diffstat (limited to 'Documentation/media/uapi/gen-errors.rst')
-rw-r--r-- | Documentation/media/uapi/gen-errors.rst | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Documentation/media/uapi/gen-errors.rst b/Documentation/media/uapi/gen-errors.rst index 6cd5d26f32ab..d6b0cfd00a3f 100644 --- a/Documentation/media/uapi/gen-errors.rst +++ b/Documentation/media/uapi/gen-errors.rst @@ -92,10 +92,12 @@ Generic Error Codes - Permission denied. Can be returned if the device needs write permission, or some special capabilities is needed (e. g. root) +.. note:: -Note 1: ioctls may return other error codes. Since errors may have side -effects such as a driver reset, applications should abort on unexpected -errors. + #. This list is not exaustive; ioctls may return other error codes. + Since errors may have side effects such as a driver reset, + applications should abort on unexpected errors, or otherwise + assume that the device is in a bad state. -Note 2: Request-specific error codes are listed in the individual -requests descriptions. + #. Request-specific error codes are listed in the individual + requests descriptions. |