Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3671706rwb; Mon, 16 Jan 2023 11:09:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXsnzMWA43zxnsNmoL4psDKc1E02lR+F1rDzSbylSX4S2R3iqILEAl5/Z8c6u/8KMBiHxv8i X-Received: by 2002:a17:90a:4107:b0:227:838:11a5 with SMTP id u7-20020a17090a410700b00227083811a5mr316599pjf.31.1673896162856; Mon, 16 Jan 2023 11:09:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673896162; cv=none; d=google.com; s=arc-20160816; b=XUH/7u8uPwgwr5Zu2kJxsfldaJJ3tvCD9iYE/MWDsLsDne433EN5pDeNYgrlfhjUGv dh8+HRaRTOEAd7izHGNZnIOz7hr2q536aITft0IlNcTpJpSh+GG9RMpuLMP8G7yxDQH+ /Au0FxSZODh32r4hbouTD+BHFdv5z67odvKERPrK4l44bSY4oR5S9JMpgkgm3D+6uGai n+ssZ1g2oo8GlugzMNJe1zvoGwzjSg8rbnFsBYGTaL8LC9/KRuxJ21G2VGimfwQewSKJ pM/gFuvVmu3UP6Q6z9zYNJTolMZhilkyggDwQ2c37KqDEALsLKDuWZtcx4fNrhZavVLT FK/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :in-reply-to:from:references:cc:to:subject:reply-to:user-agent :mime-version:date:message-id; bh=3U/UMDrt1ERP+4W8WcGd8ghmP5Kf8zFnC0ua/Movv7Y=; b=XH4tE/BY3JvR53mOeZ381ujaEmEJmQ2F0oohONdLKX+bwcxPYgpCNFnDlIycVmOOmX y7DdqecL7lHat4HAIVblwercg4X1KBGP4+Ob3qLvofydHhYHmQk4+fcdGIaAElVjL3sy 45C1jOHLsyFzmdaWBbdvhZ9SAlliZlY5M392iukevdzd0GAj24+LtpR4PgunLsG9PDsl hk1xpF4v6+J8zUjug0/R3ZMzhZdlnHTqL7Ky1wKe0I3Ot60Nhi5dd+eS//0SaXriSHIy /6J+TyZ0MohvmG46eEFAvZttX+JvN4D3QZLGIevG04evxUmm/aTuzK7qM3ln5oARkibk HnUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tiscali.it header.s=smtp header.b=GXjGttE2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tiscali.it Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oa11-20020a17090b1bcb00b0020354bcfe09si12323375pjb.129.2023.01.16.11.09.14; Mon, 16 Jan 2023 11:09:22 -0800 (PST) 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=@tiscali.it header.s=smtp header.b=GXjGttE2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tiscali.it Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232975AbjAPS3S (ORCPT + 50 others); Mon, 16 Jan 2023 13:29:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234951AbjAPS2f (ORCPT ); Mon, 16 Jan 2023 13:28:35 -0500 Received: from smtp.tiscali.it (michael-notr.mail.tiscali.it [213.205.33.216]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4922E41B63 for ; Mon, 16 Jan 2023 10:14:46 -0800 (PST) Received: from [192.168.178.50] ([79.40.78.92]) by michael.mail.tiscali.it with id 9WEh2900t1zVZtK01WEhD8; Mon, 16 Jan 2023 18:14:44 +0000 X-Spam-Final-Verdict: clean X-Spam-State: 0 X-Spam-Score: -100 X-Spam-Verdict: clean x-auth-user: fantonifabio@tiscali.it Message-ID: <62a18c7d-93d9-657e-48fd-1af06d6d1d9e@tiscali.it> Date: Mon, 16 Jan 2023 19:14:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Reply-To: fantonifabio@tiscali.it Subject: Re: [PATCH v2] documentation: fix Generic Block Device Capability To: Christoph Hellwig Cc: corbet@lwn.net, axboe@kernel.dk, linux-block@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Sergei Shtepa References: <20230110132104.12499-1-fantonifabio@tiscali.it> From: Fabio Fantoni In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: Avast (VPS 230116-4, 16/1/2023), Outbound message X-Antivirus-Status: Clean DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tiscali.it; s=smtp; t=1673892884; bh=3U/UMDrt1ERP+4W8WcGd8ghmP5Kf8zFnC0ua/Movv7Y=; h=Date:Reply-To:Subject:To:Cc:References:From:In-Reply-To; b=GXjGttE24bptT6Mg2kDVcWMNAS76gup0cyC7Zno3Cvyvsqc9YjaPFpJnVt0NHaxCO 1SFRI/l3BW06lufYD9cNbvRrCflFMqvhAgrMtoewpkyL16okj5dOmRH8rHnMfm+pvF 8DALWSyCTRrlzIw1VrSuh0Yt9g7RyA/9N0ckuGS0= X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_WEB,SPF_HELO_PASS,SPF_PASS autolearn=no 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 Il 16/01/2023 18:53, Christoph Hellwig ha scritto: > On Tue, Jan 10, 2023 at 02:21:04PM +0100, Fabio Fantoni wrote: >> - * ``GENHD_FL_REMOVABLE``: indicates that the block device gives access to >> + * ``GENHD_FL_REMOVABLE`` (0x01): indicates that the block device gives access to > The numberic values really do not belong into the documentation. They > are just implementation details. > Thanks for reply, if values are not into the documentation see from /sys/block//capability output what flags are enabled will require look to source code of include/linux/blkdev.h and Documentation/block/capability.rst will be less useful, or I'm wrong?