Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3383372rwb; Mon, 7 Aug 2023 12:36:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH6HyGkjmrplo0lkSvqT17HAFnXOl9OK47NgjhjiIih9nlSj1hkb5D5ErDTjv3xyz182aRS X-Received: by 2002:a17:903:41c7:b0:1b8:ae8c:7bfb with SMTP id u7-20020a17090341c700b001b8ae8c7bfbmr12099314ple.17.1691436983692; Mon, 07 Aug 2023 12:36:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691436983; cv=none; d=google.com; s=arc-20160816; b=GZDbxGYn/6KuuSc/jZKzd7S+NXJQm91c7xeCNXIV63qrQ9LDXN8ac0xSLct9aqc36/ nPpHq7gfprh1S6/HuoVmIgrvOwjrbKdd65p5opLT29js8Fdtmv6uNX+VMkvHwf4BEV5R Sm9qKEnMqCPdktcVQ3jVfnrnQiHPDS9dx4nwKUSynba3nfu3JtUpMNlBDx2GrJCaBcNP ACBg/vaWMhprLBd78dXtEat7vjU4lHd6YSAFksV+s4F3LKz4Hi1Z30HjXraRtpy3QMG+ A0+gWUW3bqo87HySMdiCXZgEWMwOSsj84uKZxR2HPwz1WrZljkZB0JoMyrmd5CWTPzoy yWHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=WHqC6U0bmErWak531vlTN+is0veLI9Xe/uZCUjZYmW8=; fh=KmdoYUES9DdQSfXEcxGV0CTH7cz+SEfh5wQABg4Rpzk=; b=obb0eJt5cOELdz+X+Jfp4Sy9ZckycuSBcNyzv8GOSo2rnJN865sEVrzK1gjhQY/+cr ShS8333nk0vWrSxwjWH/GUiz6DJ6BK/Zl7a19/WaN1iIc/kMSVpT4gFN74QF0zyXNUKN xSsY/pqzV74VYJkt+wN8lnZoMS66DCYIUDZJEIk3k7Lcg7KlOagMONdHeXrwGxIdcmBb 2ryfbJGpXGkv3kkQoOyMV5mp3ykqbWIPg1AFsJWjBs5q+4VLFY7fqsjJVOJtJnybFNDk V/uPBPELUP5PZ5OifNQYeiFaJTKif8KA8srlL66y1yA8rhkGpB1YBANBgmO7HScAx3/h yCUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=DDori1jG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2-20020a170902ec8200b001bb83654b3dsi6343229plg.217.2023.08.07.12.36.11; Mon, 07 Aug 2023 12:36:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=DDori1jG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230263AbjHGSME (ORCPT + 99 others); Mon, 7 Aug 2023 14:12:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229619AbjHGSMD (ORCPT ); Mon, 7 Aug 2023 14:12:03 -0400 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A193171E; Mon, 7 Aug 2023 11:12:02 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:73::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id ABA884BF; Mon, 7 Aug 2023 18:12:01 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net ABA884BF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1691431921; bh=WHqC6U0bmErWak531vlTN+is0veLI9Xe/uZCUjZYmW8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=DDori1jGeHLG0LG1FnwlmIV62Ilr1Ke8Mhb5t9z6KXjQfFmOfBRPyIHaNpwal8wWH Be5SmiVq/rQabOj7dNpmobiG7AhTKeCQ5AuwzCG7ZdxJ4ywiJHRT8gwbsCvJ1HfztS UKcavh92ZfNnqBfg4f/khxbEO+BzBeHbFVrNZhX5vT8GhN1ZHV472u7bpQYi2FyVch 0FU3Kn8jUQ2ZINFULrTnWMzvIlATwChqO+bZNCs+bpxDpFI3CGDJUcmHIvqopSGmvj 8ErUC+84nM7y4HR1XpPsIhzI5TSHpRcSv/jxq/pnsR9X8xZnOYRKbayGHxdIC8beJw OHdGOI463W9bw== From: Jonathan Corbet To: Bhaskar Chowdhury , mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bhaskar Chowdhury , torvalds@linux-foundation.org, randy.dunlap@oracle.com, paulmck@kernel.org, markus.heiser@darmarIT.de Subject: Re: [PATCH]upi:media: Added rest of the Generic Error Codes to the existing list In-Reply-To: <20230807045212.32489-2-unixbhaskar@gmail.com> References: <20230807045212.32489-2-unixbhaskar@gmail.com> Date: Mon, 07 Aug 2023 12:12:00 -0600 Message-ID: <875y5q67tb.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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 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. Thanks, jon