Message ID | 20210602143300.2330146-7-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 8fb84ac8911e41fa1b6f303b9dab24c3bf87d3b6 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c735:0:0:0:0:0 with SMTP id h21csp628336jao; Wed, 2 Jun 2021 07:33:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaCBTUqDKadXos5j+tmtaNIeJ+a2CXBVbDkYqZHl8iC2/HGM30H848FJJ4wvzOfEJ47qQR X-Received: by 2002:a17:902:c951:b029:106:513f:58ff with SMTP id i17-20020a170902c951b0290106513f58ffmr12373952pla.37.1622644414498; Wed, 02 Jun 2021 07:33:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622644414; cv=none; d=google.com; s=arc-20160816; b=op75VcoO2xB4L7geEtx+OPhuRAotFRjr3ZCt6DD19SRPYXRbLFKOgBg73PchuOeDXQ spuuMUdlIjv9jpjjcLRuDTYUunC+pf0o3IDS2j8vdhlH/6NuQ+2gAiq92KmxM1Lf0Fo4 XRtIapF7tliwf/WFLJ5aJ2rK7EW5BF+3G4YCHFyXghqpvQy/s5qfslxyWF/ABI5w7AFN UK36vjAr5IISV26dG6YU0JSK4+8vHmzmOAjk/B2vTvy/E67cqxFVqnekQK3rBrDlXASO kfpcAU41dX2VS2XmEzY/CGl6ILwg3Fx4GJcwea1bsh/W57FymwYo93pi6CVgSrzhhDtC 4Tcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=KjGrcIOD2Z+Nhsp7UBZvNxk73/3NibtTsjxqFhOCaZQ=; b=O6otYUhZDzr1GZKu6r+x2BrotHdUv9+9XaDs3d7TbWKS+XrYAGOy9IfXV4qDJoFlH6 gP9lfvtXBG8EuRVp9d0sGvc0wh/ttntFmBfoQNdqkdxCgqLFj8I1gcTRQtuiTt8yq314 UcvX4sgsToO7iACb+0dAdbEM40c1aVajUS5bSSc4Dzp6uOZdeLuFsppGLga869bZRldJ mSiqrP6hYuzprNTvMqfAZmlGEG6A8OCigKVDGAfO+piMAKtc7BiHHYGV+sDkVqFoqLvY /Kz7EwwpQpKQxrQCjDnJNlAx3njDmel3mUlJnyOA8Tv83X0uEP3ufU0VXGD84jRubpK9 XDpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=B5eapVtX; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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. [131.252.210.177]) by mx.google.com with ESMTPS id m23si8211102pls.133.2021.06.02.07.33.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 07:33:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=B5eapVtX; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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 6F18A6ECB3; Wed, 2 Jun 2021 14:33:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by gabe.freedesktop.org (Postfix) with ESMTPS id D45356ECB4 for <dri-devel@lists.freedesktop.org>; Wed, 2 Jun 2021 14:33:16 +0000 (UTC) Received: by mail-wm1-x334.google.com with SMTP id 3-20020a05600c0243b029019f2f9b2b8aso1820826wmj.2 for <dri-devel@lists.freedesktop.org>; Wed, 02 Jun 2021 07:33:16 -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=KjGrcIOD2Z+Nhsp7UBZvNxk73/3NibtTsjxqFhOCaZQ=; b=B5eapVtXzrPgrbyn1no4++7E3/uyzNNcp0YRodoZhe/7iVG9VhheW7sq8o0Dzo8HEA 3wjS6sImWqTgA8oIi0ByjoXOWdJHZWqrr/kpZ8eahVhucaE7G3+jSzQj8/PT4wmA1JIa 8kiJX7A9VyvvrE4EnRv2MC/NB59qqRHGMlYS0ZT0uMBt/X0N7wedWhDjtTIRx2bPXoP0 8RQPuZjNoQaDXJRJgWwV8w56gPTIjO83KS4sEXfW2Y0RxRaXgg9Bya6ul5+hqjTL6xcl X/oHfcoGl02m4aT7q94NVz6FcJxSsW7wLw99FCanuuybwqMp1qO9QWVxv0w956JxGjcE NAjQ== 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=KjGrcIOD2Z+Nhsp7UBZvNxk73/3NibtTsjxqFhOCaZQ=; b=E8xvCwGa6XhBSq7AY0gCm7lJyNwzGnQOjPvHnk0NsgG21zT2Foh3HsI6c4I0brjVzc WUHNkQhQ9ONBoX5SvGniA0wnkaEOg//ut8G95fWt5HP3AFCJyhDc+YOBbSJ9bC34Fyxr 5sseWc7zk0E7tbJCJoBzf1aOqYtYR1LZRak8HL7lDdrRdTPoOItzTVrhrY/2JsL9LJ2u 9D9LSAkHvMGhAYejTpq9jR74YaGWuWAjZegnKcn7C0lZ5pe1nw+flWoe54tB1JkgxCpG bGkXD2CBTGPLtQlEGGIvCgxkG6vdXiYLwT6nzLiZAHL3B/TD5vyCpwes/FPqCB3XBRsj IROQ== X-Gm-Message-State: AOAM5336immwwEtd/gbcsOuEUcpaln/b9E22gAfsYMVNCT9zfKqTZCuL T5bvtW9zv4GL763K/aVz9+I9dA== X-Received: by 2002:a05:600c:ad2:: with SMTP id c18mr21788160wmr.93.1622644395561; Wed, 02 Jun 2021 07:33:15 -0700 (PDT) Received: from dell.default ([91.110.221.214]) by smtp.gmail.com with ESMTPSA id o11sm132315wrq.93.2021.06.02.07.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 07:33:15 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [RESEND 06/26] drm/sti/sti_hda: Provide missing function names Date: Wed, 2 Jun 2021 15:32:40 +0100 Message-Id: <20210602143300.2330146-7-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 Content-Transfer-Encoding: 8bit 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: Benjamin Gaignard <benjamin.gaignard@linaro.org>, David Airlie <airlied@linux.ie>, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Fabien Dessenne <fabien.dessenne@st.com> Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Rid W=1 warnings from GPU
|
expand
|
diff --git a/drivers/gpu/drm/sti/sti_hda.c b/drivers/gpu/drm/sti/sti_hda.c index 5c2b650b561d5..03f3377f918c0 100644 --- a/drivers/gpu/drm/sti/sti_hda.c +++ b/drivers/gpu/drm/sti/sti_hda.c @@ -272,7 +272,7 @@ static void hda_write(struct sti_hda *hda, u32 val, int offset) } /** - * Search for a video mode in the supported modes table + * hda_get_mode_idx - Search for a video mode in the supported modes table * * @mode: mode being searched * @idx: index of the found mode @@ -292,7 +292,7 @@ static bool hda_get_mode_idx(struct drm_display_mode mode, int *idx) } /** - * Enable the HD DACS + * hda_enable_hd_dacs - Enable the HD DACS * * @hda: pointer to HD analog structure * @enable: true if HD DACS need to be enabled, else false @@ -380,7 +380,7 @@ static void hda_debugfs_init(struct sti_hda *hda, struct drm_minor *minor) } /** - * Configure AWG, writing instructions + * sti_hda_configure_awg - Configure AWG, writing instructions * * @hda: pointer to HD analog structure * @awg_instr: pointer to AWG instructions table
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/sti/sti_hda.c:283: warning: expecting prototype for Search for a video mode in the supported modes table(). Prototype was for hda_get_mode_idx() instead drivers/gpu/drm/sti/sti_hda.c:301: warning: expecting prototype for Enable the HD DACS(). Prototype was for hda_enable_hd_dacs() instead drivers/gpu/drm/sti/sti_hda.c:383: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Fabien Dessenne <fabien.dessenne@st.com> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/sti/sti_hda.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.31.1