Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1575836rwd; Sun, 14 May 2023 23:11:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ652NRjnKzolyffUXP8u1zn0DbGv8Fjgfq6T9HnVuR3cte3jzE+UAVtQB2AZBqQXEZo01dA X-Received: by 2002:a17:902:ecc3:b0:1ab:528:5f85 with SMTP id a3-20020a170902ecc300b001ab05285f85mr42863553plh.59.1684131093710; Sun, 14 May 2023 23:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684131093; cv=none; d=google.com; s=arc-20160816; b=xkIz8rslkcMtM8KNtw9NuxjKFX8HA4qAsryiWRYiYM49KBTGJMxYNTEZWgMrEk/Sox 8iSTR79BZDieNmQlXcc3I2DR1Xp8ecEzxHcDZy8eqFhwRN/+ru0HULLgo54oCA0qm5Sf i0IpJ0AenxW1sIAblAkO5ESMIl6DPgGKHCuivKXVmBxckHkGvH665E8zs7hXG0dSyQt7 1f382+Wsu2wmO4iXl6vreRftXqU96CTgfHct7JIeRd1n8QXon4v3Bxzbl5Kw30oojqoD KCakNeaHS+V38uc6Fo/vuLO+s+z7pMAunhHjyipo3IxPdvD+xz1bNXRSztqsEYtlczUL IgWA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2-20020a1709027c0200b001a990bcc3f5si5199725pll.392.2023.05.14.23.11.21; Sun, 14 May 2023 23:11:33 -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 S239436AbjEOGHM (ORCPT + 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 ); 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 ) id 1pyRGi-003IYx-1I; Mon, 15 May 2023 07:01:12 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , "Laurent Pinchart" , "Sakari Ailus" , "Tomi Valkeinen" , 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- include/media/v4l2-subdev.h | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.40.1