Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1252437rdb; Tue, 30 Jan 2024 12:31:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+uAlMUtutpSv7tyOY9uEaALLGGKTpgyYrSFco68fSGk3McaFIdXW7OSqXNxP2XKW2KgiR X-Received: by 2002:a05:622a:3d0:b0:42a:62a0:260 with SMTP id k16-20020a05622a03d000b0042a62a00260mr9945970qtx.58.1706646718395; Tue, 30 Jan 2024 12:31:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706646718; cv=pass; d=google.com; s=arc-20160816; b=R6iLXDvLbSTlLA+dIJV84NihkwD9zoJbkehszHRH5Dd+T2EU55P1kQS1TYT/i9PgOW 3EGj/IfEB7ah9XDFJjKBqOcapu4dg5BAq3vg1lQyHwXluSTX1c8wn/7hH2rYaTYk9a3y ZD6uZ9WgnID3N4Ri43NHeuqhwp4AF4mhO25yLN+e/2JJJmPw4EnowUutDC8RW6VosETO +aMrujeMA7gb/1g3CFe1L92IvybMWbId9D8hTf8cK+GpT/0ytehE1629njfIcVe4iUti RqOIrqX/vlwUVN63c9Ze5VE3OP3Ff2yOS5poikkwI56+813Wmh+PolxRlfc6ntsr83AR qxow== 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=EDJoJIFoiaWQo8LexHsdvIE4pZPld1QgS2DhtQSIQ2Q=; fh=r8T2ey5etiABM1D3rdf8Hr7vZotnmyOeCEDP2qdf890=; b=hvsijI9Btx6nAivWaKnunqkyaR2scAF65aFKBg2VCVYT3+JUBPghhcVYrkvxT497xQ F52MykJmn5o6IdQgCeeLCY94CtdAUDwkUbGHyftTtsE6gbdBvyA6sj9WeX+/i+Nfkl6n o/Lzfez9otDLZov42URwvY13uQ+rjdoSoEGo2vBwoxugRltN3EuCxr3jhXnABk7mTEsi gXxnkS11uGg6i/VEV49fBA/KnLTRjFRNIYesQ/FBiZ3FVBxh4dW8eumYz56K8HhAHKeS 15SFS+MW/vUIbYqAh8/n/lvtLOBUOR25kTG6XRzU+Pkra/kcziV4UEFiZ3ozzZyOYPTQ qaYA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=FY8eqXAx; 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-45269-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45269-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 f37-20020a05622a1a2500b0042a7f883285si7641289qtb.112.2024.01.30.12.31.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 12:31:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45269-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=FY8eqXAx; 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-45269-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45269-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 23E121C22642 for ; Tue, 30 Jan 2024 20:31:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3799D156CF; Tue, 30 Jan 2024 20:31:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="FY8eqXAx" 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 1032479DCA; Tue, 30 Jan 2024 20:31:49 +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=1706646711; cv=none; b=L9GvrxUW0OYVEKP+yA4x3hdkNIkyoCfqHdjF4w3O9hUyupFK03aA6unLV6tQv+vXEDN+uiAv8SoDUnVn3REqokxK1ToWUc8fGGWQzuGq0NYr6BTz/xSg1dMtGCwk2Uw9sCUVNEjHsxUuQxAr1feZwcZK9E33FPtTclhlL1+HvuE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706646711; c=relaxed/simple; bh=LOP+6Gd8XzSZncwRf7uGMAG0j2Ql64OEcnAO+AqFH8M=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=KHs26priTw032ZQks6zeD5XnamxGAhH1miQqjdY7CWvzARglp0u78MD+bwN670f2htTl7zoUR4Q/t3B/3OXdOkjzJFKRRupCf2QG1s1puuYctCtYio6kB12lUgdyS4m+BwE/XpL2TlorjBHklG84CgW3f6r6pnUoQQNrUyEtil4= 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=FY8eqXAx; 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 33FB641A47 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1706646709; bh=EDJoJIFoiaWQo8LexHsdvIE4pZPld1QgS2DhtQSIQ2Q=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=FY8eqXAxH813hKcE8MPW5zA9a5xhZm0OSkdFqVn+CrIE21aVr4ep3/5/bbLPbwm5K rUj0ALrqZx0pKXMes1WafO/n2enLXwkfYlrwzCIZVpkSqw53liR5FnPxRd3VRTfEzd 4SbNbJ7ikXRYqV/0c8yVXzrxxw4zuElC6cmDqvgnkcTp+nuN8ajcgdlPGrsObS4j9X jPixq8zKDm0RH6qtBGsFn/MZk9sZiSCfI4a7Onin9aZqY/0w2Zl0+QjHdheLdy5/j0 ybLvrlEsO0ac39xiSTXDlcLCJWQmUkO+KeMfqMAUbLnmkL7M0xC9qIs1i1r4+s3IEk NAkpQ66r2uH4A== 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 33FB641A47; Tue, 30 Jan 2024 20:31:49 +0000 (UTC) From: Jonathan Corbet To: Daniel Vetter , Randy Dunlap Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v2] doc-guide: kernel-doc: tell about object-like macros In-Reply-To: References: <20240107012400.32587-1-rdunlap@infradead.org> Date: Tue, 30 Jan 2024 13:31:48 -0700 Message-ID: <875xzabm17.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: > On Sun, 7 Jan 2024 at 02:24, Randy Dunlap wrote: >> >> Since 2014 kernel-doc has supported describing object-like 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). >> >> Add object-like macro 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 >> --- >> v2: Previous attempts to use kernel-doc were for data definitions, >> not macros, so remove that comment. >> Remove a duplicate word in the patch description. >> Add examples. > > Randy pointed to this in another thread and also mentioned that > function-like macros are already documented, so this also has my > > Acked-by: Daniel Vetter OK, I'm slowly catching up with the world...I've applied this in favor of Daniel's version. Thanks, jon