Message ID | 382ce82fe2b186c7d8067d8b4e945a947c7c7047.1684130460.git.mchehab@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6701556vqo; Sun, 14 May 2023 23:20:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZeLD8TxyMaI9kw/tUM3fjaLerIwAwDhM0U0CHrB550LY45YTtdovpROLE9dr7VGvthOwS X-Received: by 2002:a17:903:1110:b0:1ab:74c:bdf2 with SMTP id n16-20020a170903111000b001ab074cbdf2mr44982175plh.28.1684131627418; Sun, 14 May 2023 23:20:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684131627; cv=none; d=google.com; s=arc-20160816; b=gFGchCu57GYoDwdwuw+iVrOz9AYeG1nH6I2gZgP3oBBbrdVlLNEedoMLbj5OjZD+3p tWz1BUQI287cKHV6LWZ5j+8krTKZwbK+w8P2bA7RsKlZBVGG7x58njLAg3zTKyvFkCcA 6QIYKz4Zt2GbOfm25iaCa8k5tUKCVId3xU2gVLCqoIJ0Vy3Qt8f1DYne6IzlHvFOIftx I9xpMHcp0RIb1SJKK9lUUknBDPe3VzYK4ftvd+b8DwszvQnls9cvkKJ2uuLIZZH24vIL PVyIBmy9R3eCwl0fRVWxmQLoJ3ABlhCoxB8e15ulLyKOglVKaaSEPowMM9x9Og5KnPod mghQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=hroHhRMgrh1RSEdSFZyr4ErtCmiSkxtIxN86kN8sfrc=; b=bsYIs2ebh1NTdBLbKG+pP5pX4r+CncuNkKbmM8F5m2N1rsmUXsXOFeUbXP053HkreD leEahW7tYuWqVL7rLjCtK8GnpurmPngl6/+YxF2LqcRkh/k6L0gCIadIpqV7TXqChUux wFxVdtleAdI03aUJmaII/PxUKGsf+hio+9GUtm6nMiqG+kEQyeqJJgk3veXZY0Xq5vLU orzQLmQHZX4OWuB5dDvDP1nCQmfwP8nzQznn68qqc1OcjMN+ZaZCHYa6Qi3c5KBXZHjj aVIZf0Pv99FsffZz+yG2+0iT10Apc/Bivy5QtOzbyzDiXVp1VnxlJV1jwKakBl5nZHYO Hp6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=BVOEjRs0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020a17090322d100b001adeb1635e1si7352769plg.155.2023.05.14.23.20.12; Sun, 14 May 2023 23:20:27 -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=fail header.i=@kernel.org header.s=k20201202 header.b=BVOEjRs0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234890AbjEOGHM (ORCPT <rfc822;peekingduck44@gmail.com> + 99 others); Mon, 15 May 2023 02:07:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229985AbjEOGGp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 15 May 2023 02:06:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AED093C25; Sun, 14 May 2023 23:01:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 42A4D61F33; Mon, 15 May 2023 06:01:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3956C433D2; Mon, 15 May 2023 06:01:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684130475; bh=QD/HwA4qfumc5WDkLMf7soF3JasPpx6RTvIErVLM/Qs=; h=From:To:Cc:Subject:Date:From; b=BVOEjRs0IWncanINrFIzP7r0gywzPtqVv39ClV8X0bMr/d9JmvfS+G71j4j2qqBIh K5npbpIwdW5jMMNXe/O7HcPNOASknxaBm5AxeidloxWARfpF02NSlwoeY256L8JHLZ H0M1+szAJ2JAahZwukMJpo4PP7a0fO0EjI5t94YbNXosG62CZ2g7+14UUQV8BHQZLL MbDbgyVC9R5s2PpvLJKu8UZENWWnv6wYpWioLf2w6qREPMYS5/aUB5CsSvdSdl8U6m t9lJJueUzjdnTqqPCe9c59eTe/lNoeqojDnevxLK/X0+Us7sfZf7vkxm1o5BJ4kHMZ otgSJFL1RIK7g== Received: from mchehab by mail.kernel.org with local (Exim 4.96) (envelope-from <mchehab@kernel.org>) id 1pyRGi-003IYx-1I; Mon, 15 May 2023 07:01:12 +0100 From: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>, "Laurent Pinchart" <laurent.pinchart@ideasonboard.com>, "Sakari Ailus" <sakari.ailus@linux.intel.com>, "Tomi Valkeinen" <tomi.valkeinen@ideasonboard.com>, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH] media: v4l2-subdev.h: document client_caps at struct v4l2_subdev_fh Date: Mon, 15 May 2023 07:01:11 +0100 Message-Id: <382ce82fe2b186c7d8067d8b4e945a947c7c7047.1684130460.git.mchehab@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765940004954114723?= X-GMAIL-MSGID: =?utf-8?q?1765940004954114723?= |
Series |
media: v4l2-subdev.h: document client_caps at struct v4l2_subdev_fh
|
|
Commit Message
Mauro Carvalho Chehab
May 15, 2023, 6:01 a.m. UTC
Gets rid of this documentation warning:
./include/media/v4l2-subdev.h:1130: warning: Function parameter or member 'client_caps' not described in 'v4l2_subdev_fh'
By adding a documentation about such new field.
Fixes: f57fa2959244 ("media: v4l2-subdev: Add new ioctl for client capabilities")
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
include/media/v4l2-subdev.h | 3 +++
1 file changed, 3 insertions(+)
Comments
Hi Mauro, On Mon, May 15, 2023 at 07:01:11AM +0100, Mauro Carvalho Chehab wrote: > Gets rid of this documentation warning: > > ./include/media/v4l2-subdev.h:1130: warning: Function parameter or member 'client_caps' not described in 'v4l2_subdev_fh' > > By adding a documentation about such new field. > > Fixes: f57fa2959244 ("media: v4l2-subdev: Add new ioctl for client capabilities") > Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Tomi has sent a patch for this which I'm planning to include in my next PR: <URL:https://lore.kernel.org/linux-media/20230418105924.126608-1-tomi.valkeinen@ideasonboard.com/#t>
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index cfd19e72d0fc..62362da0d604 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h @@ -1119,6 +1119,9 @@ struct v4l2_subdev { * @vfh: pointer to &struct v4l2_fh * @state: pointer to &struct v4l2_subdev_state * @owner: module pointer to the owner of this file handle + * @client_caps: + * client capabilities to inform the kernel of the behavior + * of the client as set by VIDIOC_SUBDEV_S_CLIENT_CAP. */ struct v4l2_subdev_fh { struct v4l2_fh vfh;