Message ID | 20230727011944.327807-1-me@davidreaver.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp777835vqo; Wed, 26 Jul 2023 18:37:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlHokFVJwUNHGvOxpBds46fU52IEWIkbdv7yo64977j6TEhtPHB3Edt7G8xGFghluENf4AUE X-Received: by 2002:ac2:4bc7:0:b0:4f8:4512:c846 with SMTP id o7-20020ac24bc7000000b004f84512c846mr537760lfq.49.1690421862028; Wed, 26 Jul 2023 18:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690421861; cv=none; d=google.com; s=arc-20160816; b=lb4ZONXYDWliAl7j8X71hAUor92QDlhDF9u8q7Dt7h+mO+zl8t/nWEtRtGiwssol3g eGFskV3hrWOwAuPB+ff//qc/zU6hKn/CWtcWtWXzGfs/p+EfIMRMjpDyGiIMzloNdg5y 8xPu/ySSyykLpdGDoPN6YjHgbLhInGuqP3hzbpW3YMOqihbmEw0Dw2d+xmi8o5bq4wYy Ylwl3Tp3fFKSShspKxnI4pee8NWAN5gAriPbWxx8bC8pbFHprspz3/qoI2s1cDM8Ydnd GZNO6CtrhvN3YxuMEtUglHM8Up0GpMODvO41i7ZMxMtvPdA3U32XcFijqqIJw3qguSKr sA5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=jfAHQLCIWpfDdvyeExTMEs7mz5YeHIAIHoJEn9iQiyI=; fh=b2fgPxBRcfWWLEeyVzwPzAqU9XhXKuszXrO1SMYxALg=; b=aC3UeG+7MluX56b2CK4YdbxO6smihRxJKIMgsXZXfaLNmSEj3WPishyPO2yi7qNDYN SsQ1mfyIK8Yf78WJQg2XFJkGhcTwdx5nWiDU39kHkaAjkrLEqWgZILJaQmEPXXlZn42o HvprRPC+6+rqPZ4SglQtYrJbnpJGxvx+8ewFv3nekPJy/MkEhcFLudJY/oXo1NwXqMqe LBqlJAyWSHB49H/WQ1mEVm9DRKRPlLbJghdFGoW2UskYr3RdRSk1fwr8QnGkgOhQr9kH CNGm0975QfHurx0IDzDY386IoqvJb53wy9cy0lhZ2HEhBWznOuCQjdqT9DBuSObl5wui 66gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@davidreaver.com header.s=fm3 header.b=kaPvXonH; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=uhLnwcJT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f26-20020a056402151a00b0052255c77fe5si144740edw.199.2023.07.26.18.37.14; Wed, 26 Jul 2023 18:37:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@davidreaver.com header.s=fm3 header.b=kaPvXonH; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=uhLnwcJT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230182AbjG0BUY (ORCPT <rfc822;kloczko.tomasz@gmail.com> + 99 others); Wed, 26 Jul 2023 21:20:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbjG0BUX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Jul 2023 21:20:23 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 896319C; Wed, 26 Jul 2023 18:20:22 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id EADD35C013C; Wed, 26 Jul 2023 21:20:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 26 Jul 2023 21:20:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=davidreaver.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm3; t=1690420821; x=1690507221; bh=jf AHQLCIWpfDdvyeExTMEs7mz5YeHIAIHoJEn9iQiyI=; b=kaPvXonHsvEXHeualV aXbyE1LTE2tU3iF6Op7CArDD66B535AhaI/y+0JHrupjoip8EuB7kDjDNewsTG+u LpuyfEYsIGP9+AdTzbfhtpXlfiA9aJZbVsyGec9e2gAZiu5JXnxZXoelugxQmfm3 MBxDimOr+bRBjxTGmGwT4LEKdttfbnlgDF99McN4pLiUqgSa1EmSwnQhEuz1oWqw cjxMPXTIcZ+ddhMVZas8iGrZ53M3O2dYzsUPwtE8bVcjIVfhrKjYcbSZPOwmQiAj zB9IUIwutJwmd86hEi7GBdz0ZXqkKjsKhKCGHX2ANkk+vCH04po+YY90PlY1d04H xu1A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1690420821; x=1690507221; bh=jfAHQLCIWpfDd vyeExTMEs7mz5YeHIAIHoJEn9iQiyI=; b=uhLnwcJTrBx8a2qQNOBfgUtwIv+xT 5cvWYadrh+YR+M3cR95qzoI5tU27aAKHDXnVC6ANDC6hFdeT1SQrkSC7ewNz8VF3 pN1ICI3l9OjsqlOUMCOYQ+NfhoIW5uOJkoDIcVjX/DLc31byFSjv8aSHikmnAIxd tPSTO+rGezm4T5Tg7VhAC715U9kdDmnlm3ya6mCtp7XBuUrJBP/Hx1P+4+twSan2 K7zt1cez8MSYhnhntNGlq9Osd5m0UHdn6pmPuzyZHvS3SxkcQUxfnX/Vk4pFhctt x7Pr9jWxNTnxPuamV4d+vI8MurCQ37bBafjcsUIzafpP0cuWr7UgWPDyw== X-ME-Sender: <xms:VcbBZPg6QFSNVHCIgghD_-pzChq5zHMXbT6XXJlLim8WqDqefmUR_Q> <xme:VcbBZMAH6kgTBby6lJ4TjDEu-XdbcYy7fC4TPoB73kw4kyBgZ0hwlzkVO4rAOc5Rl 2fN9qjfY93k4z1Icfk> X-ME-Received: <xmr:VcbBZPEk_OpoVVPcB4xdRsuPmfAk3rU8zXVVyfEgqHyzAZyMpqRQ2_1Fr5g2i3EAy8gtlvNcLN-YoNGlOYpL4cZPCo8> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrieefgdeggecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeffrghvihguucft vggrvhgvrhcuoehmvgesuggrvhhiughrvggrvhgvrhdrtghomheqnecuggftrfgrthhtvg hrnhepheetveetgfdvffehfeffieeugeejhfevieejveeivdeuiefgvdduueffhfefveeh necuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmvgesuggrvhhiughrvggrvhgvrhdrtghomh X-ME-Proxy: <xmx:VcbBZMSsm-ctkM59SO09pKqnS8PpoYL18Mo8LDmQAdf75YRRKvM_Bw> <xmx:VcbBZMxrdPMFePFZB_yqIGKKhgfIDOaVQksdoXmBKvw0P4LPxz9vqw> <xmx:VcbBZC7KYQrP9H2Btu2gNLUUjM47prVbXyya3H6S3ikcMlYzbi-EmQ> <xmx:VcbBZDlOkkgoYhH-_mkoPh9YqQB3nN92ZONBwCNokjJAnX4VWO2hgg> Feedback-ID: i67e946c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 26 Jul 2023 21:20:20 -0400 (EDT) From: David Reaver <me@davidreaver.com> To: Jonathan Corbet <corbet@lwn.net> Cc: David Reaver <me@davidreaver.com>, linux-doc@vger.kernel.org, Sumit Semwal <sumit.semwal@linaro.org>, Gustavo Padovan <gustavo@padovan.org>, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] dma-buf/sync_file: Fix missing colon in kernel-doc for num_fences Date: Wed, 26 Jul 2023 18:19:44 -0700 Message-ID: <20230727011944.327807-1-me@davidreaver.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772535794760927004 X-GMAIL-MSGID: 1772535794760927004 |
Series |
dma-buf/sync_file: Fix missing colon in kernel-doc for num_fences
|
|
Commit Message
David Reaver
July 27, 2023, 1:19 a.m. UTC
The struct sync_fence_info member num_fences was missing a colon in the
kernel-doc, causing this warning when running make htmldocs:
./include/uapi/linux/sync_file.h:77: warning: Function parameter or member 'num_fences' not described in 'sync_file_info'
num_fences was also clearly missing from
https://docs.kernel.org/driver-api/dma-buf.html#c.sync_file_info before
this patch.
Signed-off-by: David Reaver <me@davidreaver.com>
---
include/uapi/linux/sync_file.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi-- On 7/26/23 18:19, David Reaver wrote: > The struct sync_fence_info member num_fences was missing a colon in the > kernel-doc, causing this warning when running make htmldocs: > > ./include/uapi/linux/sync_file.h:77: warning: Function parameter or member 'num_fences' not described in 'sync_file_info' > > num_fences was also clearly missing from > https://docs.kernel.org/driver-api/dma-buf.html#c.sync_file_info before > this patch. > > Signed-off-by: David Reaver <me@davidreaver.com> > --- > include/uapi/linux/sync_file.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/uapi/linux/sync_file.h b/include/uapi/linux/sync_file.h > index 7e42a5b7558b..b389a5495181 100644 > --- a/include/uapi/linux/sync_file.h > +++ b/include/uapi/linux/sync_file.h > @@ -56,7 +56,7 @@ struct sync_fence_info { > * @name: name of fence > * @status: status of fence. 1: signaled 0:active <0:error > * @flags: sync_file_info flags > - * @num_fences number of fences in the sync_file > + * @num_fences: number of fences in the sync_file > * @pad: padding for 64-bit alignment, should always be zero > * @sync_fence_info: pointer to array of struct &sync_fence_info with all > * fences in the sync_file Same as https://lore.kernel.org/all/20230330142720.882045-1-robdclark@gmail.com/ Hopefully someone will merge/apply that one. Rob, can you make that happen? thanks.
diff --git a/include/uapi/linux/sync_file.h b/include/uapi/linux/sync_file.h index 7e42a5b7558b..b389a5495181 100644 --- a/include/uapi/linux/sync_file.h +++ b/include/uapi/linux/sync_file.h @@ -56,7 +56,7 @@ struct sync_fence_info { * @name: name of fence * @status: status of fence. 1: signaled 0:active <0:error * @flags: sync_file_info flags - * @num_fences number of fences in the sync_file + * @num_fences: number of fences in the sync_file * @pad: padding for 64-bit alignment, should always be zero * @sync_fence_info: pointer to array of struct &sync_fence_info with all * fences in the sync_file