Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1246819rdb; Tue, 30 Jan 2024 12:18:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IGhr1iL9HfoxDssyS5BNayRoj+Mvq0lwZkeU0gKNRTjILcGMSyXl5BwBPBz/TaVl4LGYDtG X-Received: by 2002:a05:6808:1442:b0:3bd:a4f3:a3 with SMTP id x2-20020a056808144200b003bda4f300a3mr6288700oiv.36.1706645906643; Tue, 30 Jan 2024 12:18:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706645906; cv=pass; d=google.com; s=arc-20160816; b=aNkOiw0mbB7VuodzDK7xj6v8o25LZLUyUlhjdukCGtzessfqtiu+nKoj0XDxeDG5nX 6xBLmHZTI5eia5+TG40YN283RDBPfWmImTkG0CdLcvql3Vwwb0NURUAr71YKgbBF20yI qi/dB4PDDeDZdBssa4prbpWRuseXGSsTeT3oeC4RLb+f3C94G1W7+wWK+nJiReamHeou X2TWkKMxHpluUZXXqpV2AQ+7JakdrG8AgqWcQ/kcIYmZv5DBv8JqlyVGQlPb7/IBJTRM FAAtXULD/zduD7UCm3LZzKe4CSWQDUqlMHj1WMkxUThSCwHggvkw4oqxV/C44kNUbJNV GEyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=9KysNAjR2JJqZckLeN84dmIjHnc6rN2+vXgE45980uU=; fh=ISZfAZEW5jv6Ag6xlgcf1FzdjP60J4MBj/+dIPSGIIo=; b=e7hkkhieT96Khiqm5es2nnHPDhz27rtPIxAgnpsqhHjHwCiyfw7LYLrMBZ+OGRhBxw pdJh8OSH/la1OtauTIWrMU0C/7VMuwGvaCEZpYPW/2ocLR0uEjYr5jpRv2fBtziTmsxn 7ovwNrXJrAaUDNS5sFsLz9uSYomxNYfeItohB+E3ZMkU5iFHHj0IoGduDKdbCqT/w9z3 zJTSHO2R3wuxWqyACJCJ6vKPwYHohngC39C/kRBCG+SK/DKYN+CoustOBORNsAZG1k2y Kq0bmU4qyVScQm0pODIn25UnMdi4RFoN4cGFxkUP5gsLo4c9SlUWsyQZwF3kqM5fWo7j 48Vw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="g/karfMa"; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-45250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dc5-20020a05620a520500b00783577b7501si10780219qkb.357.2024.01.30.12.18.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 12:18:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="g/karfMa"; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-45250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net 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 612681C22653 for ; Tue, 30 Jan 2024 20:18:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D97C71B4C; Tue, 30 Jan 2024 20:18:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="g/karfMa" Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (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 D3C8371B35; Tue, 30 Jan 2024 20:18:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.79.88.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706645897; cv=none; b=HtCRJcDQ1EBN3n6ARfHx3QcoVCNlxhRAKKoFcRYVLxBUq4goH+cLJjL788Lb6fWN+3YnNfEMarLSCUNNLDjJmU0R4a5l9T3XjqVHQV2Nn92UEDpeuIcBQaRiGLjkuFavPWT7nywLRsxJ74MFUvbuchi2Bo3YJw99HbTm4GrPBM8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706645897; c=relaxed/simple; bh=kw4/vZsQ4igABvQM8UwIbtkB/TnHdIU/pnO5e+cNS8k=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=EpjJRm61kUwrzxssde99KjDX34wRr9ZsOqHuUX0moiyJoWct7/6Yvl/opKeBIgBFrABDpds9gOA2GX4qkRgOnXuhZEC1Lgg9Lj8xu2fT3CJWp+4qmcCdScaoZPWJg3z1uIjb96FCLcFAgKkFv/ELtG958bO9ydMRpbvkLNLK/tY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b=g/karfMa; arc=none smtp.client-ip=45.79.88.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net E576B41A47 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1706645895; bh=9KysNAjR2JJqZckLeN84dmIjHnc6rN2+vXgE45980uU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=g/karfMalEzLnFfjmYg+HXbUBUv2mpeqvy66J883uo9ZS4xhTNI19ANDbgGhXNt4E qyyje5/F3tftwwKw67XZXbIXuJIixYSm+yAuxgR7ETaeNkun9o1xR//ewH6RJk6pMf nHqNHB5h5fdWDVRQcI8c4dBwviuXjkJI+0+c7ByB0RRUTY1at7XhEqXweYVU0hn0uR HR8ikFK2kmUIu2GuN8NVf6TKHXeJRJ5ZRPHJrY2QZaJZMcm0cdiVB2O6KoxuJaxn8K CG5qwT3CD9I5CWpS6RsFHPPbYKw2B30GNXIxtojAO3XIbw5JAcKgMSF5P/J0ufiohm pjp3598pgy8Hg== Received: from localhost (unknown [IPv6:2601:280:5e00:7e19::646]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id E576B41A47; Tue, 30 Jan 2024 20:18:14 +0000 (UTC) From: Jonathan Corbet To: Daniel Vetter , LKML Cc: DRI Development , Daniel Vetter , Randy Dunlap , Thomas Zimmermann , Maxime Ripard , "Steven Rostedt (Google)" , linux-doc@vger.kernel.org, Daniel Vetter Subject: Re: [PATCH] kernel-doc: document object-like preprocessor macros In-Reply-To: <20240109140345.3344094-1-daniel.vetter@ffwll.ch> References: <20240109140345.3344094-1-daniel.vetter@ffwll.ch> Date: Tue, 30 Jan 2024 13:18:14 -0700 Message-ID: <87il3abmnt.fsf@meer.lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Daniel Vetter writes: > I had no idea this exists, but Randy pointed out it's been added quite > a long time ago in cbb4d3e6510b ("scripts/kernel-doc: handle > object-like macros"). Definitely way before I started to write all the > drm docs sadly, so there's a few things where I skipped writing > kernel-doc since I didn't know it was possible. > > Fix this asap by documenting the two possible kernel-doc flavours for > preprocessor definitions. > > References: https://lore.kernel.org/dri-devel/dd917333-9ae8-4e76-991d-39b6229ba8ce@infradead.org/ > Cc: Randy Dunlap > Cc: Thomas Zimmermann > Cc: Maxime Ripard > Cc: Daniel Vetter > Cc: "Steven Rostedt (Google)" > Cc: Jonathan Corbet > Cc: linux-doc@vger.kernel.org > Signed-off-by: Daniel Vetter > --- > Documentation/doc-guide/kernel-doc.rst | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) Applied, thanks. jon