Received: by 2002:a05:7412:bc1a:b0:d7:7d3a:4fe2 with SMTP id ki26csp812128rdb; Sun, 20 Aug 2023 04:11:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF3UaS2UxXm3TgvupVyEwaLo5kp80dcoz6jTwu0JIGtY35DKTp1YnoiELOB3liDpSG9YDaa X-Received: by 2002:a05:6a20:4287:b0:140:3775:308e with SMTP id o7-20020a056a20428700b001403775308emr6674427pzj.0.1692529860967; Sun, 20 Aug 2023 04:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692529860; cv=none; d=google.com; s=arc-20160816; b=A07ECuNGs3wiPS2qbPZyhrwpBlCpDtPn0JDyVAfWrMuQ+Sd8gAX+y8Y1OTiRsgmP6B oCBLlcOLgVm5bS+txJ3DFL5uuSLujrhJenAX2os01cMjdv2JStgxJKeq+vNlaAiqqQ4A tG2y+YeE37HDnoBoQzKB1niLiu6VWUyzOCL6EZWg4e96t6eujmOWsJLSfZ7iDmiVfqaA MUt2QeuJw9ciDqMI85/OQOWCawKeRjZTI1qdow0cTW4pXdSOHSiNWZJniA+UAdK2D0S2 UDs+NkykPYHC06+bRZObej1hENfl+hqTnajlaWBYEJejTi0U/UH3byELkG6Gd03gPgmc Wakw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=AktKrHTtqkw1USCIJrYxQ2crmeNT+WFMjnUmDUk0ql4=; fh=Xz22svzNkYeSan8uJBgGVA8PZ7/pizbsWyMUovS5Rv4=; b=MCagIJBREDhu2XvXShKEaIzI4DnQY1Xf6w10yCmQUY0mvDS5sD0P95iloRGk3Ft8Pd ycgCTzjg5zYNNOl96u1exNnjmll0CCNAaN+mgAMvqg7L2f3214MjEYpSjXXATUUPN4eo bBc733qEEo6yX79D/nN6JkVFAY4bLDsuf5iY1/T7I4b081P2DFCUIvUzavpIeRGGWdZW +eGX/0cMoXV/Ys20N4gX9DHCJr8FmlX2tJrNqVwoheR/0L3kJgAYkAd35WcL4nPlScMX qkQ6EzPgsSTraq1I6ZwiKvbzc4w1+kQGgY9To5VRxKouz/UtFe6oRnc6DcDGhQ9o4GxW /Srg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id be13-20020a056a001f0d00b00686bef2c7c5si4958295pfb.322.2023.08.20.04.11.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Aug 2023 04:11:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 06ACE2158B; Sat, 19 Aug 2023 11:35:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358272AbjHRHkU (ORCPT + 99 others); Fri, 18 Aug 2023 03:40:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358311AbjHRHj2 (ORCPT ); Fri, 18 Aug 2023 03:39:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E18149EA; Fri, 18 Aug 2023 00:37:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 76FC06477E; Fri, 18 Aug 2023 07:37:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B897CC433C7; Fri, 18 Aug 2023 07:37:04 +0000 (UTC) Message-ID: Date: Fri, 18 Aug 2023 09:37:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH]upi:media: Added rest of the Generic Error Codes to the existing list Content-Language: en-US, nl To: Jonathan Corbet , Bhaskar Chowdhury , mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: torvalds@linux-foundation.org, randy.dunlap@oracle.com, paulmck@kernel.org, markus.heiser@darmarIT.de References: <20230807045212.32489-2-unixbhaskar@gmail.com> <875y5q67tb.fsf@meer.lwn.net> From: Hans Verkuil In-Reply-To: <875y5q67tb.fsf@meer.lwn.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/08/2023 20:12, Jonathan Corbet wrote: > Bhaskar Chowdhury writes: > >> Added rest of the Generic Error Codes to the existing list of codes. >> >> cc: torvalds@linux-foundation.org >> cc: randy.dunlap@oracle.com >> cc: paulmck@kernel.org >> cc: corbet@lwn.net >> cc: markus.heiser@darmarIT.de >> >> Signed-off-by: Bhaskar Chowdhury >> --- >> 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