Message ID | 20210115181601.3432599-18-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 77ee9c5688c9c41b12e8eca301f2d47587595f3b |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp91359jap; Fri, 15 Jan 2021 10:16:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZtQYg40FOK6Rz3zi1Cyjd2aAXXqGnxEJW+3uFKBt+nM5NAoHQ43wHOUl6ucQ0X+PuNIH5 X-Received: by 2002:a63:1f47:: with SMTP id q7mr13907140pgm.10.1610734601538; Fri, 15 Jan 2021 10:16:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734601; cv=none; d=google.com; s=arc-20160816; b=0Xm0yoA6AOHQoFV0FSB0DSSbALMF1C8dbu2lPXbVFKgG9eZ/+a5P9MEUZ6vDfQf1lf Mr0rrSz49lSWq9em8SEw21njS2XZkzPfgD+09/ZHANngobqu2vkl83LWvFIr32a15bd9 D6cb62SSwSv0g7Onlzpg4r8CUiMzJEJTpkjOEO6+N2Tv62QwXAvjlrPUw7hMSP/z3paE mVRhz+2jV4Owu2RpZAmgRRTpFJyfQAXTyRZM6htqJeN96LGTL8ga2i9wX1akmLlh5yXS Mpc9AX4MSnSaudlu4I4bVF9i9Ct98ZCdpsi/rZ1QEn4Epp8oFoW1rn6oR4kHIazzNW5V mRFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=DBcwWWkWSQ5H0YLKc90JD34py0a/2tB03ddHdqU6MY4=; b=vbHWfThj49wQE0CfKKhRmjp2Kx4DB0Qez3i3pZRa7MLuO5VO2QhiYqni8BJpfNSSeo pVs4KbdI5nJqhooB1pHm/Z9x/TRosLakD06FBzN2iTtLH1X7t4IqE6WD1ck9ATm4imjJ gDZXDxixZrKmq5rULnFm3MQZjxh7Kt0zKGgeNeBQq/WnGmO8YLzbryHlwApdzYWCowNX 3l1/tAar2d9NiEZnYiccd6Yla+yc0/SwHAYv/v/PJnONH9dn174hWmYYOIDyVQYUmhxz 33bZ1tukw3LveZI9qmBujbIjSaznD6ATUc+uOaOwMeF+xci5v93QQIDBCU3I3VsSbdWa VzJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OoioVsm+; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id 33si10441937plb.314.2021.01.15.10.16.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:16:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OoioVsm+; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 22C3B6E4E6; Fri, 15 Jan 2021 18:16:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3D2F66E4D0 for <dri-devel@lists.freedesktop.org>; Fri, 15 Jan 2021 18:16:31 +0000 (UTC) Received: by mail-wr1-x429.google.com with SMTP id m4so10191230wrx.9 for <dri-devel@lists.freedesktop.org>; Fri, 15 Jan 2021 10:16:31 -0800 (PST) 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=5LH1gDNEpa04mVmMwrdsnTHPuZadf7vRIYykG237nqs=; b=OoioVsm+TQx6nV7gS8EYVFvVJ1Fv6AK0ME2b/TTWZE6GVipp0qR5swgZ83FEbZ12hJ bHfLNqxGSPlvKS/kjMA6EFo0ABSEJZ7RxksriR+eL3aLaSRw+duGxMmfMFNZ/6DWKvR1 W10uIAzHzlddHv+JocGFwsSmxmEbLV0Tlhngr0vMllvQKG/JNDysKLzXv0AyOiKStki+ WjLofYAriQTZgUtIf2WYUjD/ue1rD7qJbI760ANCfyWYCqT4EUaiH+f56OdxXd2zqSut keQOIR2LCIAHQ4j+dA2EHerIqjTJF5JZ+VvUE4csnjttU6l1DvBN4KjjB/ingtnz4MwT z7Kg== 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=5LH1gDNEpa04mVmMwrdsnTHPuZadf7vRIYykG237nqs=; b=bKsOyfDq856hmCYdqmlY9nVh6sssSgh2GQv4OUYVv4XwrxG/x6uUKjmcOWZ3qvpeg8 9HuwfXzUt+hKjHpPfHeb0zLrs7ud3O21uW2nrLlfC+zjjBSyJcPq/rGSEcOKftcsqO97 INNX1+XnhtL4ztg6YnLcgmV8/7VeV4t1FUhisuwmKs+wjLz/Tf2KhydJFIoBJvdBzwe6 1I5oxRTKj9fPniYQ5BwpWfO5Zk8lSNAl4PjnlLP1d+tD8BZ6c9hz7YhDLLLipOm8+Vzn pCEU1MsjnLk1JQlL2jDUbjn7m4jnzmuR2IMnIK0m312jV9LtLwiamLXapRSv/U8uP3vR U0Yg== X-Gm-Message-State: AOAM531Xg/0V6HcB3f+WihL9sxMvtEO9Y/6bap7gilCrmruDBdrmkbfc C+HMk0uJJwyCFoyCVULmOT52yA== X-Received: by 2002:adf:fdce:: with SMTP id i14mr14514805wrs.58.1610734589879; Fri, 15 Jan 2021 10:16:29 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id b133sm14405979wme.33.2021.01.15.10.16.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:16:29 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 17/29] drm/gma500/cdv_intel_dp: Demote one unworthy header fix another Date: Fri, 15 Jan 2021 18:15:49 +0000 Message-Id: <20210115181601.3432599-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181601.3432599-1-lee.jones@linaro.org> References: <20210115181601.3432599-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 <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: Keith Packard <keithp@keithp.com>, David Airlie <airlied@linux.ie>, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Finally rid W=1 warnings from GPU!
|
expand
|
diff --git a/drivers/gpu/drm/gma500/cdv_intel_dp.c b/drivers/gpu/drm/gma500/cdv_intel_dp.c index bfd9a15d63b1a..6d3ada39ff867 100644 --- a/drivers/gpu/drm/gma500/cdv_intel_dp.c +++ b/drivers/gpu/drm/gma500/cdv_intel_dp.c @@ -306,7 +306,7 @@ static uint32_t dp_vswing_premph_table[] = { }; /** * is_edp - is the given port attached to an eDP panel (either CPU or PCH) - * @intel_dp: DP struct + * @encoder: GMA encoder struct * * If a CPU or PCH DP output is attached to an eDP panel, this function * will return true, and false otherwise. @@ -1687,7 +1687,7 @@ static enum drm_connector_status cdv_dp_detect(struct gma_encoder *encoder) return status; } -/** +/* * Uses CRT_HOTPLUG_EN and CRT_HOTPLUG_STAT to detect DP connection. * * \return true if DP port is connected.
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/cdv_intel_dp.c:315: warning: Function parameter or member 'encoder' not described in 'is_edp' drivers/gpu/drm/gma500/cdv_intel_dp.c:315: warning: Excess function parameter 'intel_dp' description in 'is_edp' drivers/gpu/drm/gma500/cdv_intel_dp.c:1698: warning: Function parameter or member 'connector' not described in 'cdv_intel_dp_detect' drivers/gpu/drm/gma500/cdv_intel_dp.c:1698: warning: Function parameter or member 'force' not described in 'cdv_intel_dp_detect' Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Keith Packard <keithp@keithp.com> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/gma500/cdv_intel_dp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel