Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3479819lqp; Tue, 26 Mar 2024 10:09:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWjP+qhTGViVoy8S9L84PkgnbJCuy+ssPZ8/jbKtToOR2SRuPkMZ+GwhtPP6Si5WEWnI0wLq13XuRfUtEjJ10L13m8X5bHCKlr2HFwPUg== X-Google-Smtp-Source: AGHT+IGQcGGMVju1/zZ5GZ9GOEa7VHznDGuBc+Xj2Kva2OACpriIb3IiRP5AP5sVkYbSCijO/gjV X-Received: by 2002:a17:90a:6308:b0:2a0:440d:6923 with SMTP id e8-20020a17090a630800b002a0440d6923mr9715216pjj.42.1711472972127; Tue, 26 Mar 2024 10:09:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711472972; cv=pass; d=google.com; s=arc-20160816; b=WkewAYeZT9r0WA1csgCzTSRlrOy5T88Uf0CRdOu7vlo9X0dBdlvNPjgM3XfosxXi3D /e8BwaC/q4LqAHh/vKlt/7jCLbuPTo+/gk1btkgn0aHoGD+8eyMqXwdkAWbLtpMWOw9B vEvg4hZLmRPvKobT6y7EyptjdFeJ1uY7j/JcXon9ajG556wRYv7G3hwSaedNmQpaCHaL EpdUdn1myenCJEWGkW60LLS0ANhI4zyEDm3H2gTiFmVZxeqQ1HNK9CvAO4cZZ/3WgVL0 taReHrK+cpITpYT57JCQhwb2Dd7Bb85Mg7cosBd0hlIrmroWNMeZrJEkwgTcBw5CyDeu 8SCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=4RBQkJlhFKpCT4/hh4bcHX7zCUxKMVUv7eGrJmW03nA=; fh=FZGp49NygRySryFhmAasdPFfE2uDgmcNwM6zlMJG8pA=; b=C+yZtr92xrT44LdnnWV6NBs05j9wzE58aUb9b/jf2u4tIbH1VrH2N/NlwH7/bKlKOr digCjnx7bdbQGkiCIawNnE1ZieHpZ50k9RqJWXgq/d9hU16PGlXB+/9zWc3R/l1KBjFd O7jxorpKBwOwzqjiIPPfoLzIJ9DT2huyvURpt2wpy7yT0Yow9+oBbe61SaxZKk+EuybV LZrZZMZKTqAEbtCQ9tAOcP/WIEGOKWoeoaX4A2DhRBgoywavJYmcxwV8PIxSe82i2Fgl N/ihmIGTd3Mh0MBWOaQ8PS1QF7BhghSneIpL+dON10tonQgC3FLWSAmN5XP1GHa+/avt Rkow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-119525-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119525-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x6-20020a17090a6c0600b0029b5d3f3120si9929035pjj.161.2024.03.26.10.09.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 10:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119525-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-119525-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119525-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5B2BF322DA1 for ; Tue, 26 Mar 2024 17:08:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09F91126F03; Tue, 26 Mar 2024 16:56:32 +0000 (UTC) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF99D86643; Tue, 26 Mar 2024 16:56:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711472191; cv=none; b=euALFmGiCHD78X4cpPQZ6oKs1FeRkbyddNy2HU6CqHNM4UleIj4kTetASgWy77TahF/PTcTXNF94MaAvn98Dr+sfY7QiPOFyjmjud//b307cEW4ObztIRaKFYMEzXJzcxjivgefCp5cUzvfSYv9iVXPy3koMudYyxE2wsSDXAfM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711472191; c=relaxed/simple; bh=4RBQkJlhFKpCT4/hh4bcHX7zCUxKMVUv7eGrJmW03nA=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NISFMqTEoHofYkpmf4gzE+nJt+/R0l1otyAakhRD2EzYCKRJneV7/8dnmY8oAtE0eOUAgIwOnuayp1G78hkkH/Hxu04cuCYQaZFUX7uxk8o4E26GKV8QwbYqJV/Q2hZX8d7IpR6qDmeKqefq6VeW6MPwxSUNdBoqCAbmYdR7TW0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4V3wnW1FbRz688KN; Wed, 27 Mar 2024 00:51:59 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 21185140B2F; Wed, 27 Mar 2024 00:56:25 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 26 Mar 2024 16:56:24 +0000 Date: Tue, 26 Mar 2024 16:56:23 +0000 From: Jonathan Cameron To: Dan Williams CC: , , Bjorn Helgaas , Ira Weiny , Jesse Brandeburg , Ilpo =?ISO-8859-1?Q?J=E4rvinen?= , Lukas Wunner , "Jonathan Corbet" , , , , Subject: Re: [PATCH v2] cleanup: Add usage and style documentation Message-ID: <20240326165623.000002fa@Huawei.com> In-Reply-To: <171140738438.1574931.15717256954707430472.stgit@dwillia2-xfh.jf.intel.com> References: <171097196970.1011049.9726486429680041876.stgit@dwillia2-xfh.jf.intel.com> <171140738438.1574931.15717256954707430472.stgit@dwillia2-xfh.jf.intel.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: lhrpeml500005.china.huawei.com (7.191.163.240) To lhrpeml500005.china.huawei.com (7.191.163.240) On Mon, 25 Mar 2024 15:57:42 -0700 Dan Williams wrote: > When proposing that PCI grow some new cleanup helpers for pci_dev_put() > and pci_dev_{lock,unlock} [1], Bjorn had some fundamental questions > about expectations and best practices. Upon reviewing an updated > changelog with those details he recommended adding them to documentation > in the header file itself. >=20 > Add that documentation and link it into the rendering for > Documentation/core-api/. >=20 > Link: http://lore.kernel.org/r/20240104183218.GA1820872@bhelgaas [1] > Cc: Bjorn Helgaas > Cc: Ira Weiny > Cc: Jonathan Cameron > Cc: Jesse Brandeburg > Cc: Ilpo J=E4rvinen > Cc: Lukas Wunner > Cc: Peter Zijlstra > Cc: Jonathan Corbet > Signed-off-by: Dan Williams Other than the formatting improvement Jon suggested, this looks good to me and corresponds to my understanding of how this stuff should be used. FWIW Reviewed-by: Jonathan Cameron