Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp545497ybh; Thu, 12 Mar 2020 06:49:49 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtwmoBIQny1Z3C0RU/rlIf7+L+EqlPwxrA0BqWcHpIAJU/R/nD4uFeCbThg02UZEKoK6e2T X-Received: by 2002:a9d:30c7:: with SMTP id r7mr6326094otg.289.1584020989187; Thu, 12 Mar 2020 06:49:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584020989; cv=none; d=google.com; s=arc-20160816; b=TtP+qRmVkBNbzBCkhNP+gxwafLDjbzGBTxk007LEVBpvHxo6ZPB3QF2aG4WJlXQIrz R5QfXyneRBV9VLG6ExqzVXnBbNo9aVYMG4AWEo0Re3JAmgVJHmzgVHNrCTsrS/zFBFFP G6MgdNOue/4l09nWRMXVH2bpm1cYvJX2Bh4WAFk7MnEwSIhpxjvCgcEouxyy5XhIh2Id 7I8l5RFE1n8BYFbAIe3fgKgxA2/Aj9iiE3X5/7LPMIaJSD+zkSEJU7EgNLji+5sw3qUM m3t++9nCwMk/s9aCqi2Z6Wi47IqDbNC3dbq5moYjxlWhp/y8l213by3vWRL61S/QDc9Y fDzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=JQXIGCXCcQkX5b0h95Wn70qT4Lsg/1L/D4OIHLSiNCA=; b=0IEIy2UVFit6BKMgIeMYQMya0nxC18OG2VOvDRab0d3Ahsp7NKUOS0ZJ/8K/vRsO+Z gzOy7v+sH/zSvrPzpwXygFg5AEXF7stNHqG2qsaZzlgKXQM/ogTIRNSZ+K3id9NWFYO3 yPEK14/3DNqNucl8okS0vMwOvSKsSir/PUfrgz1mDIU6cEZgZuejYbfPbgXYAjEUbOkl 5spGBQDQHOk6+JYlnKkqOn2q+rPsqRBcX857ErNofX9woQgakAOFekm0LbUY8LfuGgzq UZZzknGKzXshQb6XYpIcbsD0vLupk4R1Z3OKAjyfP/MofJ17D107nTAPfadB7tR1ABK/ u7tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b="NlWfLO/f"; 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 a10si1716242oot.89.2020.03.12.06.49.37; Thu, 12 Mar 2020 06:49:49 -0700 (PDT) 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=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b="NlWfLO/f"; 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 S1727407AbgCLNsB (ORCPT + 99 others); Thu, 12 Mar 2020 09:48:01 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:41844 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbgCLNsB (ORCPT ); Thu, 12 Mar 2020 09:48:01 -0400 Received: by mail-io1-f65.google.com with SMTP id m25so5706532ioo.8 for ; Thu, 12 Mar 2020 06:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=JQXIGCXCcQkX5b0h95Wn70qT4Lsg/1L/D4OIHLSiNCA=; b=NlWfLO/fYNg9mLVfR9yLiSb1v37zDB/6P3U6ychPiHzh5TDCvUkTE5txbHWJvt5p0o cYxYiIIgF42V7QUW4zYohjpFh1DByWUcNJGrI5BLB3jo8P/c6DNUSDofvxc71QAI//lh s2rmzVQrJkeA3BpNaZ5Ra+UQauJZkZE7RZR0thXR+bXuy6C29p1kuHZ5vlb/T8rEqrdu fAMvuzFZ+qzz5SWgqnvQTNlRh/yyt+Gwq9ILZ3gR+jqBHmStJJHG6iFv4z8Jc57MSaRZ 4KuKPaEkEK0NGzF1pAC+EeVCtxAqOS8Y+K5Zo0A8B4HQ2WG6mEWH79+BEVMb/ZdXa1gE Z8YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JQXIGCXCcQkX5b0h95Wn70qT4Lsg/1L/D4OIHLSiNCA=; b=ZoPbSarSqiGX9N7yBTgEZLZpuVscHlzKTQKoZiMT3lWToFqMyxuKumi7ydI1D+H4kc FxndA1XRXAc4jJ3LTwBYDiHryJKyaG+A74ThjmGeHy5SEikgGkNlkDXhyJOKEOx5DmJs KAuB0pEhwUThLPv062LAStS2lcvbGCAqW3EnjDjaI8yUYpHan7/Lh3117GLIiZfRPkEr ffeUE9UcmuMHvJrrC64OVBHn9n92LI1PGCXI1Xw2NleYC/FCwWc01vXz1ttOVkJ1vXPm M6FN9vrQonGxb48V8VpbPCgwADlqkXbgLwF4zLUT+HdYRd70CSbdeMpl0tkvyZ+4/HJH WMoQ== X-Gm-Message-State: ANhLgQ0xul49Qh29JtpYpAU9SPYf4++kJ9CRRVYxi9piXymbMgn0NhbM 2jOvS0tFjzpRfAulB6vPLj6caWfvUxSKIw== X-Received: by 2002:a02:b894:: with SMTP id p20mr8035881jam.86.1584020879998; Thu, 12 Mar 2020 06:47:59 -0700 (PDT) Received: from [192.168.1.159] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id y71sm4689317ilk.23.2020.03.12.06.47.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Mar 2020 06:47:59 -0700 (PDT) Subject: Re: [PATCH v2] Document genhd capability flags To: Stephen Kitt , Matthew Wilcox , Jan Kara Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200307145659.22657-1-steve@sk2.org> From: Jens Axboe Message-ID: Date: Thu, 12 Mar 2020 07:47:58 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200307145659.22657-1-steve@sk2.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/7/20 7:56 AM, 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. Applied, thanks. -- Jens Axboe