Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp784865pxb; Sat, 6 Mar 2021 17:49:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpHyp9hbyouThlMSfnTFFNZybVo0XSrDkyi15qRPpft4LU4InqAREiIJEtX72dD9HuDdqS X-Received: by 2002:a17:907:7692:: with SMTP id jv18mr8908842ejc.475.1615081768655; Sat, 06 Mar 2021 17:49:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615081768; cv=none; d=google.com; s=arc-20160816; b=EsyNxEnMY+mu+TDw+1tVF8pO3ya7/qCSge31QtGHw4Srxyt1/Hp3BsP89k42UUw99T 5OPKRNDRiMIlyPV2NmgHKGmCmyMxG5Z4gq0Om69k/SxXs6YJt9dgVM64MpIBIVsQaLPT stznIYJRbhy9lFG5PlbsqWEaCh69dDqXfg0nLtDZFMYFIODrnqSI0AMViNF/FE+rqwnv u0eH49Xn86zAEaQ9qCpOTPDdBETBM6Uupg5BS9NBXoMtIW2cnDc/sqDhS3LRn2MosGjm A846QEalVJYBbxvqsO3Cwre8aAM3YC2R0dkD2tRGczGzWbOLTzXOWK4U7BuVs7axq5I5 UvzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yowjMpguvRVlCMfZy2mi35DmOW+KXVYAeHTatHqiuns=; b=YDKlX/I3qJtoYL5UBLSxZRqrba3rSdfQGZJjq/+oCbR3GhEBMJSTV2WC01KVteMuA2 rkjuNa6PTO/rC3GwRHJxMEERXU/2DihHx54wLzK0KN5PM6tgG4MnfSdFuXiN3F4Z4JMf OuTYd6IGtlfbInTquGSwm3JE2If0Jd6s1iNjBHo4M8++iPPlp2yfJm7cGAPQgbRzrESr iU+j/eBNx43h/4vNgErA5JonnBJ8c1htKvJyXvgnPREytfGDp+6syVlP/1wtbia5SKUW HeP05jLZx893EeNHwJ33JwqjOVQMPLVT5F0kBt3xl1nzK9HfDiWwZaGqFMvUyLxRQO3i Rrvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vGo2+wxf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n16si4275912edo.395.2021.03.06.17.49.05; Sat, 06 Mar 2021 17:49:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vGo2+wxf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230087AbhCGBpP (ORCPT + 99 others); Sat, 6 Mar 2021 20:45:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230005AbhCGBpD (ORCPT ); Sat, 6 Mar 2021 20:45:03 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0AD8C06174A; Sat, 6 Mar 2021 17:45:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=yowjMpguvRVlCMfZy2mi35DmOW+KXVYAeHTatHqiuns=; b=vGo2+wxf5JmJlFh/XZ6miai8Wi 8aICtqLNrH4RIF5V28A6T/rAx8C9J/dJ0b4V/UBHfgvV29nS6zY0FJQ4ufT3BXIrqwrQWqdw9BwEN /CaFPWmaaxPH60z+CCc2pBThp6YbCwKHUJ0qVA8WiUr49yLaHECVEHRMYQL58KcOp1z0tBFRtoRwY ltxt06yXYkI4IGZviO66PGQYfRO25UyjmaLHu+6T0ttu+6FjD2wwJ/1OQbJlSVt4wtir9hjHxQKRP XvMKBJY7E79er1xDp1mnxXHPDp8Lg44XI0ssKyNg2UO6T5Kc4P+JLJhn9yZSKaMN+3mrYOuph2+Fj AlWcVF8g==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lIiTN-00Dlko-70; Sun, 07 Mar 2021 01:44:48 +0000 Date: Sun, 7 Mar 2021 01:44:45 +0000 From: Matthew Wilcox To: Wren Turkal Cc: Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Expose the bus kernel docs to the build docs. Message-ID: <20210307014445.GT2723601@casper.infradead.org> References: <20210307013301.39420-1-wt@penguintechs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210307013301.39420-1-wt@penguintechs.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 06, 2021 at 05:33:01PM -0800, Wren Turkal wrote: > Before, the bus type related APIs that were defined in the > include/linux/device/bus.h were not referenced anywhere in the docs, so > I linked it to the bus types api documentation. I think this is a good thing to do. > +++ b/Documentation/driver-api/driver-model/bus.rst > @@ -144,3 +144,5 @@ sysfs directory using:: > > int bus_create_file(struct bus_type *, struct bus_attribute *); > void bus_remove_file(struct bus_type *, struct bus_attribute *); > + > +.. kernel-doc:: include/linux/device/bus.h Do you want to put a heading in front of it? I did this in xarray.rst: Functions and structures ======================== .. kernel-doc:: include/linux/xarray.h .. kernel-doc:: lib/xarray.c Also, I see that drivers/base/bus.c is included in driver-api/infrastructure.rst, and I feel that they should probably be included together?