Re: [PATCH]upi:media: Added rest of the Generic Error Codes to the existing list
From: Hans Verkuil
Date: Fri Aug 18 2023 - 03:40:51 EST
On 07/08/2023 20:12, Jonathan Corbet wrote:
> Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx> writes:
>
>> Added rest of the Generic Error Codes to the existing list of codes.
>>
>> cc: torvalds@xxxxxxxxxxxxxxxxxxxx
>> cc: randy.dunlap@xxxxxxxxxx
>> cc: paulmck@xxxxxxxxxx
>> cc: corbet@xxxxxxx
>> cc: markus.heiser@xxxxxxxxxxx
>>
>> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
>> ---
>> There is a "moreutils" package across the Linux distribution, if you
>> installed it and that package has a binary name "errno",if you run it with
>> "-l" or "--list" option, it will show all the error codes.In my system, while
>> running it shows me precisely, 134 of such codes.YMMV
>>
>> .../userspace-api/media/gen-errors.rst | 479 ++++++++++++++++++
>> 1 file changed, 479 insertions(+)
>
> This document is a list of errors that can be returned by media drivers,
> with a focus on what those errors mean in the media context. What is
> the point of stuffing it full of error numbers that media drivers will
> never return, along with generic, one-line descriptions? I'll defer to
> the media folks on this, but I don't think this helps their users.
Indeed, this documents just the media-specific errors, there is no point
in listing all errors here.
Regards,
Hans