From patchwork Wed Jun 2 14:32:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12294907 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53B7BC47096 for ; Wed, 2 Jun 2021 14:33:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2404B610A1 for ; Wed, 2 Jun 2021 14:33:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2404B610A1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E335E6ECC2; Wed, 2 Jun 2021 14:33:27 +0000 (UTC) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9095A6ECBE for ; Wed, 2 Jun 2021 14:33:26 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id z17so2537242wrq.7 for ; Wed, 02 Jun 2021 07:33:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=T8jZ4n5cOgv/UmZYK2xnz10jZVZgWxDdZjKqpW0gHh0=; b=dNuB3B2ZN/IUe14URz5THaczrIvVApLvBf/j+zvvve6RZ/O6re2huGXtRCQgRWkAOP w5fzHvDWc4Rh/Ay7X/DPmNU3/6S+vJ352lVlWbPNaSLwY6fdTCX9WKJCOajDKCEf8DH9 yryJjXIuK+qZBVE8xock7wffCr6aKu4DQhdQvxjmPpd2h0i2oiwESzoSLB7l6fDeMbkk 7qRBB1szRgH6DLxRCs16BoFwOA11D0RrqT7AYIXIYpp8IeiIkafzrjtzXSRSfIHZooIb +4nApsAavQKOmycMgWzVK+2LiLpq17G7LHw7l+qYsoTUkmlygCqdeHaxWqVrCi3O26UQ ZzPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=T8jZ4n5cOgv/UmZYK2xnz10jZVZgWxDdZjKqpW0gHh0=; b=SF9j/erIL/mYR6oU2nvZ96kcOOBpVwFXfPvOe5ju2EAyiiMXr8HcXDWU8Q3xj6Tr/3 /FjgLwHoUhB54zM/zT/lR+YUO59am3FN5qR7faB0s8vthpvUL08FMGhIzkaquOAoZl5w tMnh98zpXQCIV9MMDx6uoODHjv64U81e0Mdhq2yr1p+u9mCMDrjYQsoL4i0kR/6V5zLN ZRhM5qgdjK3BIS474HOrgv7ZNemgoMZ00KESfS5xNZP66nLSgCFS8RExVQKnnUuxHkhn eQHqZNWOwcO/CABM6bMTnwn9IkG4yJ00ep9WSCMYhWpAZ21F5a4s5nMH2FwKYVyN60j6 MKbQ== X-Gm-Message-State: AOAM530KyMMD0QY3ErQCgyxm9czjOpnIP+6svwRUJVPEKZNXsN6vUt8M 7WBUZMciHaQabrwWPDPoKhVHRw== X-Google-Smtp-Source: ABdhPJy4eaAZDDLpuejgdBoZ7/qW/U1oHdCxFoj2xXoCYyRG4oT5MTbvOgxHnOicDCh32UW/JzeOtA== X-Received: by 2002:adf:8b9a:: with SMTP id o26mr23354563wra.96.1622644405303; Wed, 02 Jun 2021 07:33:25 -0700 (PDT) Received: from dell.default ([91.110.221.214]) by smtp.gmail.com with ESMTPSA id o11sm132315wrq.93.2021.06.02.07.33.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 07:33:24 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [RESEND 14/26] drm/msm/dp/dp_link: Fix some potential doc-rot Date: Wed, 2 Jun 2021 15:32:48 +0100 Message-Id: <20210602143300.2330146-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210602143300.2330146-1-lee.jones@linaro.org> References: <20210602143300.2330146-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Kuogee Hsieh , Sean Paul , Chandan Uddaraju Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/dp/dp_link.c:374: warning: expecting prototype for dp_parse_video_pattern_params(). Prototype was for dp_link_parse_video_pattern_params() instead drivers/gpu/drm/msm/dp/dp_link.c:573: warning: expecting prototype for dp_parse_phy_test_params(). Prototype was for dp_link_parse_phy_test_params() instead drivers/gpu/drm/msm/dp/dp_link.c:975: warning: expecting prototype for dp_link_process_downstream_port_status_change(). Prototype was for dp_link_process_ds_port_status_change() instead Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Chandan Uddaraju Cc: Kuogee Hsieh Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dp/dp_link.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_link.c b/drivers/gpu/drm/msm/dp/dp_link.c index be986da78c4a5..1099604bd1c86 100644 --- a/drivers/gpu/drm/msm/dp/dp_link.c +++ b/drivers/gpu/drm/msm/dp/dp_link.c @@ -364,7 +364,7 @@ static int dp_link_parse_timing_params3(struct dp_link_private *link, } /** - * dp_parse_video_pattern_params() - parses video pattern parameters from DPCD + * dp_link_parse_video_pattern_params() - parses video pattern parameters from DPCD * @link: Display Port Driver data * * Returns 0 if it successfully parses the video link pattern and the link @@ -563,7 +563,7 @@ static int dp_link_parse_link_training_params(struct dp_link_private *link) } /** - * dp_parse_phy_test_params() - parses the phy link parameters + * dp_link_parse_phy_test_params() - parses the phy link parameters * @link: Display Port Driver data * * Parses the DPCD (Byte 0x248) for the DP PHY link pattern that is being @@ -961,7 +961,7 @@ static int dp_link_process_link_status_update(struct dp_link_private *link) } /** - * dp_link_process_downstream_port_status_change() - process port status changes + * dp_link_process_ds_port_status_change() - process port status changes * @link: Display Port Driver data * * This function will handle downstream port updates that are initiated by