From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B7A9C001B0 for ; Mon, 7 Aug 2023 18:12:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230013AbjHGSMF (ORCPT ); Mon, 7 Aug 2023 14:12:05 -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 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