Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4703599pxu; Tue, 13 Oct 2020 05:20:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmjoDZovRDeEYOC18I0J5xwgtqA3WRcfQuoThIbzQVF3AXOmwdWa4WEWNnZmdEW1aKg0vz X-Received: by 2002:a17:907:20e6:: with SMTP id rh6mr32151925ejb.169.1602591629470; Tue, 13 Oct 2020 05:20:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602591629; cv=none; d=google.com; s=arc-20160816; b=Nw+dC1cr0kH68XaPo5M1xhReEo1Wt/2BTicOOrQSX6VtBiDLLAk553ZmZbBqfIzbI7 1ghp0RJ0M+2BFNTQXPGjr7NzhvRiLcQvSve097eZTGXEuAQfDJ15ewrh85TOlSMjDnNd WI2ROcsC/cdksOTV1VtPkA0+jfQ2wR7dYVqBfAushwEaKo0IjfYdVXKq1aGxcUukAWid SxwFZVn1Rw6Iq5jq+VpokkEzkhJQ4+NlLeeRVfGLmu1ZbzHaMGAxEpmspXMpwcMIc7Ou 8KvsAHKTZmIb0q7kXJxwHPy/T2nxowo87yKS30xLidS+MjaRlPa4V8N7clFE5W0C6rT4 ghIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LKArNu3ECvlSNm7EdIpAo4irzD+IDoMYUe5snxWc1qs=; b=y/gSnXJinLG2abOcD0m/CeNKEgQJHpQHKxodg0ThuxCSh/XQVYBZv9hmy8v/prXYOE dgeHkFCIU6iB4FWp0nL1lsQNCWSkVLRVk/PDB4/T7U0hj3y9z25ZVOgVvHB/N8L34J6K 9vVzsCwh/wG02jvc81YuZc18sINMADvPV3M1Hht3EBoMeR8/wG+wnQzCW3ER0F0WzkRv oYMO3NWFvlhBfgvf7pCEiGNAa+fGTQS0tDr5ChOrOakbYz4VzXN1OEOLDkAXWdUHHh/u JvstMIXF+G0LoBYwoyauGUVbrei6CQkh+f0ZP4KWWezlM4gImAF2C34WNXM3+/tUf9a6 t2OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hvKLPVk5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q21si14667721edg.592.2020.10.13.05.20.07; Tue, 13 Oct 2020 05:20:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hvKLPVk5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727884AbgJMMQn (ORCPT + 99 others); Tue, 13 Oct 2020 08:16:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:41126 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726893AbgJMMO4 (ORCPT ); Tue, 13 Oct 2020 08:14:56 -0400 Received: from mail.kernel.org (ip5f5ad5b2.dynamic.kabel-deutschland.de [95.90.213.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 07BCB2225F; Tue, 13 Oct 2020 12:14:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602591295; bh=7ZXF3P5p4MjWkObrbAOtTL+8XlJ9hHimuQqgAGSiEFc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hvKLPVk5uOkGbXS+3CQHvUclvnNC86uaO8lEvUhb33IUuixzNWEyC7Pq20TUbBHBg UUKaQObwdzFXQ2ZxdpiafdOwqjWNUSo5R5N8R4jovvxvSh14a1IiHX0wLWAlPedyn0 +4wxcL2h1Sk81E8mKBkYPaEfNKtIVBvkee5VgDmc= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kSJCe-006CoD-Vq; Tue, 13 Oct 2020 14:14:52 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Daniel Vetter , David Airlie , Lyude Paul , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 11/24] drm/dp: fix kernel-doc warnings at drm_dp_helper.c Date: Tue, 13 Oct 2020 14:14:38 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As warned by kernel-doc: ./drivers/gpu/drm/drm_dp_helper.c:385: warning: Function parameter or member 'type' not described in 'drm_dp_downstream_is_type' ./drivers/gpu/drm/drm_dp_helper.c:886: warning: Function parameter or member 'dev' not described in 'drm_dp_downstream_mode' Some function parameters weren't documented. Fixes: 38784f6f8805 ("drm/dp: Add helpers to identify downstream facing port types") Signed-off-by: Mauro Carvalho Chehab --- drivers/gpu/drm/drm_dp_helper.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c index b1c71af88579..deeed73f4ed6 100644 --- a/drivers/gpu/drm/drm_dp_helper.c +++ b/drivers/gpu/drm/drm_dp_helper.c @@ -374,6 +374,10 @@ static bool is_edid_digital_input_dp(const struct edid *edid) * drm_dp_downstream_is_type() - is the downstream facing port of certain type? * @dpcd: DisplayPort configuration data * @port_cap: port capabilities + * @type: port type to be checked. Can be: + * %DP_DS_PORT_TYPE_DP, %DP_DS_PORT_TYPE_VGA, %DP_DS_PORT_TYPE_DVI, + * %DP_DS_PORT_TYPE_HDMI, %DP_DS_PORT_TYPE_NON_EDID, + * %DP_DS_PORT_TYPE_DP_DUALMODE or %DP_DS_PORT_TYPE_WIRELESS. * * Caveat: Only works with DPCD 1.1+ port caps. * @@ -870,6 +874,7 @@ EXPORT_SYMBOL(drm_dp_downstream_444_to_420_conversion); /** * drm_dp_downstream_mode() - return a mode for downstream facing port + * @dev: DRM device * @dpcd: DisplayPort configuration data * @port_cap: port capabilities * -- 2.26.2