Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp871023ybh; Sat, 7 Mar 2020 12:32:17 -0800 (PST) X-Google-Smtp-Source: ADFU+vtOLkXVctZPzJ3hkZB16aNpntzEhG0Hs45S5fiUl7dOKOhezEY7v0BoBvi6C0geEkDK7KBm X-Received: by 2002:aca:ac46:: with SMTP id v67mr2146918oie.62.1583613136940; Sat, 07 Mar 2020 12:32:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583613136; cv=none; d=google.com; s=arc-20160816; b=0lHoQvviF03rGmmMUWiE8mKMvJh6ReGgj+Mu0uKeTIa5x1iL5rL4csFyFtjj2o5pJs Mt5qiNjVzzFvRq/4n3QoJCUZ6d3U798WhAYaTMQQP5I9veBnyi95ODLwUqu34HtPpAMR mBmle1V/oQzOp5vBU92mAkZamgBCXbqJ074o3Nv9emwu+4LqAcwh4yOC0dHplDE50qNa sqzUBqqD6nuCXcSkT/Unxw7any2Zw9vQF3Pzp6livKMNF82w70DOZIQ9NHB1DWI3pwr3 fp/ysd6IhH/aJiwtdp8asQstg52NG2LE0p5rKfV0dyNH+qRJzSs0hFt7pOOcCrazLwrc yKyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=p5Qje8RxBhHJAxKEW5syzh0nYVF7uA7bs9uSppk3M08=; b=n0RneY/uo4+2VkMOdfIRfJeBs2ig7bzj7ZGKzjZlUE3+G+PvFxZownX9leECj1XmJe CJ+sggdurc3gYEcEJIAIkP8A1cN/LOXMPOCqXo7lymSKqqTM3vUUUkMI/3HHtDCqKmcN 8TdNqMClAhTRn9/fAb8TdnocGRo1UGMRueI3G6tQ5c0INELBTjqbTSSstqvIzhtRCqlQ AeXcp0+10h6V1yXQnWmUZoVrIMGP0Ne8UAFOH82gY67meqingGvgMJfv0WElfz5F/I8K lIK0HG9xE5La1JEx3YIH4vqFa1SFlvZ6hOMu/MlBLJK/tlKOJ+353G5U8NcUGfkHa0mC HHFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="e7S/y+jG"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si3585963otd.37.2020.03.07.12.32.04; Sat, 07 Mar 2020 12:32:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="e7S/y+jG"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726266AbgCGUbm (ORCPT + 99 others); Sat, 7 Mar 2020 15:31:42 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:41516 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726225AbgCGUbl (ORCPT ); Sat, 7 Mar 2020 15:31:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=p5Qje8RxBhHJAxKEW5syzh0nYVF7uA7bs9uSppk3M08=; b=e7S/y+jGeaZYjPv3GgTKNxpQxf l23Ue2dvWbUK9WtXReYLtOtzgPGQ5uRQ+sNZx6Op6KlijrYgbVC02sZgEgGW+lIEDlMrJfaJuF+PU 5xURNpvLPrb6sXMo1B5EiRQAHQfnBWU198KA/6vaPozPye5JwLjfYp8UauCmSts3aJWT62EfG+sFI bmLqw3b7DZbpIdRrqDKDW7vGBiCknMAeijn00jjZph3bEvE/z8wowQzCeiGmSpxeYkFzwFPB46Cih 3I52ubxBWlTLiCSW5S7HZ+40mtnV7SlYBRt/lWb6TUshPDssH/xORMLBm8iqAoaQPc874vXb0GG+i fjbDCIfQ==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jAg6f-0007l5-IJ; Sat, 07 Mar 2020 20:31:33 +0000 Date: Sat, 7 Mar 2020 12:31:33 -0800 From: Matthew Wilcox To: Stephen Kitt Cc: Jens Axboe , Jan Kara , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] Document genhd capability flags Message-ID: <20200307203133.GC31215@bombadil.infradead.org> References: <20200307145659.22657-1-steve@sk2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200307145659.22657-1-steve@sk2.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 07, 2020 at 03:56:59PM +0100, Stephen Kitt wrote: > The kernel documentation includes a brief section about genhd > capabilities, but it turns out that the only documented > capability (GENHD_FL_MEDIA_CHANGE_NOTIFY) isn't used any more. > > This patch removes that flag, and documents the rest, based on my > understanding of the current uses of these flags in the kernel. The > documentation is kept in the header file, alongside the declarations, > in the hope that it will be kept up-to-date in future; the kernel > documentation is changed to include the documentation generated from > the header file. > > Because the ultimate goal is to provide some end-user > documentation (or end-administrator documentation), the comments are > perhaps more user-oriented than might be expected. Since the values > are shown to users in hexadecimal, the documentation lists them in > hexadecimal, and the constant declarations are adjusted to match. > > Signed-off-by: Stephen Kitt Reviewed-by: Matthew Wilcox (Oracle)