Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp851666rdb; Sat, 6 Jan 2024 12:02:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGtTRBTEJvEcwm96D6tuWuivIKwurlG4uJgaVyNRefDecEbhnOSb6Paa+9dr9DugGmUXxMw X-Received: by 2002:ac8:7eca:0:b0:429:7598:e7c4 with SMTP id x10-20020ac87eca000000b004297598e7c4mr4710369qtj.39.1704571352253; Sat, 06 Jan 2024 12:02:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704571352; cv=none; d=google.com; s=arc-20160816; b=CyL/pxpTv/6+Dwy7b3lgifYbHPXwAwuOOfsMYtKAZfuUunMM5N/34nSsGUsvqCiIcn vC+otBBo1POVLWC/Tayi3WYeukAm1sIfsZ08pbcT8YaA7xc14BpMh3mjHeFVc0yMXYMK oDehZEQE8nZmfDlIYr+TnhA2SSVXie8t0c/gTjSUTojRXfTfiF+J4ThwptT7PhuY0Ap0 BLRrj1I1vjj4UX3xhMR+J++rgWqJB3qZI+DN59iSvYUpyhbU1fzMgfUp2+QHrRdfho0L S6Z3g+T4GzDiZRJ+FtT94O3BGx1Ch5p6QndOpPK+NwQQEUbdPrfYRILiIx3D6t7dVCcS NVfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=pA1bko8lyTP4VSP1WU3Gn+CtWUsuPvxhSOBVoaYEFOw=; fh=cdsZT/TNMhpPvCWEJdcXw2JfVKjLktzTkOpoCA4sLC4=; b=VWVGenRUD8/Vq3+20ykS7CVHaXGVQ9xie5bz0/rQQ/Jj/FjXTpMxSTqWpbGu7J/KAh czlPH024sfYEt8C3J9+HhCSLlMWkWJ4PO6vWq8Gz1rpubTnvq6suNUOUu0UMO+AGJopc 5/hGJqUA/JYF3PcRL3Q5vrV9OtBZU409HKoc2DVMPi+kVHtDrhSZYq0nJPhWv0b0L29V Ap6CyIx5GN1rtv9z8q5TbbaFUXxFX7AVJZt7pRlkMg9R+Nt1UP+psGdYPde9i/QtCghL Kasi1TTE9ew9oBYhtcPze2s0Cy+ONSkUqSl/1Yw/AEEEg6QCnDJjfa5lmRM76QWaMIYO ez3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=A2qBwJ9Y; spf=pass (google.com: domain of linux-kernel+bounces-18705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18705-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y3-20020a05622a004300b004298b23bc6asi601063qtw.63.2024.01.06.12.02.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 12:02:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=A2qBwJ9Y; spf=pass (google.com: domain of linux-kernel+bounces-18705-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18705-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 089501C20DFD for ; Sat, 6 Jan 2024 20:02:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC1E8F50C; Sat, 6 Jan 2024 20:02:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="A2qBwJ9Y" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 25C5EF4E4; Sat, 6 Jan 2024 20:02:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=pA1bko8lyTP4VSP1WU3Gn+CtWUsuPvxhSOBVoaYEFOw=; b=A2qBwJ9Y4P2spmD8U5tsDlmMai 2YTGlEy/+cUGl1zf4QWj32bWeX5lBZFEAJQVah6O7D6Lg5EXr6fUrJQBTzwzz9DkIXEw8Rp30SxFl 8hns/43fmMlzNrRApOC8Yw4+EJTMbcyLAG5OIz0iTJhWfoAoG1mVVQoUtt3UcQ5+133vZQt5vcO3T A2bk3zI58V+TtY2qq7fdwCiDPpXSyXkohMqVsnBTWv3whXpfraE04TBaknA5xgDSIRW6gXdr0lzbn ppJDMFsmUtwFirSWSMYPmG6EFd6jATfw2d62r+LKHrD18vAq4Is4tmyrC6S0m9bhccs78aUEMxp0Q WDnvUDOw==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rMCs7-001ots-2c; Sat, 06 Jan 2024 20:02:19 +0000 Message-ID: Date: Sat, 6 Jan 2024 12:02:14 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] doc-guide: kernel-doc: tell about object-like macros Content-Language: en-US To: linux-kernel@vger.kernel.org Cc: Jonathan Corbet , linux-doc@vger.kernel.org References: <20240106050137.6445-1-rdunlap@infradead.org> From: Randy Dunlap In-Reply-To: <20240106050137.6445-1-rdunlap@infradead.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/5/24 21:01, Randy Dunlap wrote: > Since 2014 kernel-doc has supported describing object-like macros > macros but it is not documented anywhere. I should have required > some documentation for it when I merged the patch. :( > > There are currently only 3 uses of this (all in DRM headers, in > include/drm/*.h). There have recently been a few other attempts > at using kernel-doc for object-like macros, but they didn't use the > "define" keyword and I mistakenly told them that kernel-doc does > not support such documentation. :( again. > > Add object-like kernel-doc documentation now so that more may know > about it and use it. > > Fixes: cbb4d3e6510b ("scripts/kernel-doc: handle object-like macros") > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-doc@vger.kernel.org > --- > Documentation/doc-guide/kernel-doc.rst | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) Jon, I'm going to send a v2 of this patch. Please don't merge this one. Thanks. -- #Randy