Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5175784pxj; Wed, 26 May 2021 04:49:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySxEaYBSZtp474i1ZkFg3ZbOID7UXlmZe9fr0dChmjUfzFyvNRogBbW/c7kriAMZDbHyCr X-Received: by 2002:a6b:156:: with SMTP id 83mr23438374iob.22.1622029750329; Wed, 26 May 2021 04:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622029750; cv=none; d=google.com; s=arc-20160816; b=e+JD20LhsETcSAkFm/OZoiI0FS7TXt2GFpThuW0FAioRsHtjrTiQjEMWG6Pz5oe0QD OfQfNg10y+CQOVYkT/8HOZ8xOkKoZZu9/4Ax/ol9tY7UTnK4KjNb1YsJ08a6O6AqyrZP BdLqObKcp6d7IXwC2B4xYo+HfdI1pLk2mSouT8lR9ghJfppAgqKug8QYwz7VTDcfxfxN pAWXpL5lwX75e2DMQ110rlPYVA+tC82XWkSVxs6ICKhR/6WS7LHbG63HH0ahkysaNgNd nbXrwnU7mSDzDDISuXTSpg7OTPi1lNXr3by9bcPg6vg9gEOPzLbdQwErEd8bG4pk+HkG RICw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OW7W47mIWK6yublPiEJWvFrVpFjoI7qTlEhI5W3sk3g=; b=FAy1/EXqXAI2Eyhwi3tEoI/xy4qArkUTsfoPmaUdD/QyBWuW8sOuBmglvnbDusfpPx d/MR4cqb1QsjeNAXbIXpSgv1JWQ9HEbnDktiHjRNCd69GZ22LUbDxN414PLS3Qnp+wk0 bIml1dOOjtUfF3vg/PRvrw0dPkiX7rvGsqYqsp4J2o869m4wTF29U+P5egxN6rsshJMB sZ3J+iMZT7gPVM95tlbwqp945gR7Zd/TVic8PH4CP+hMcjwwoLE6/honxNy7n1gIRRyb fBVb5RlcW66sUYOTV1I4uuxZoBMBK1HioO9JnvfRDFRFzVkhVwkmxcW7JPL4Ze89+C64 j1sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q4Dzbnee; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j188si22992587jac.58.2021.05.26.04.48.55; Wed, 26 May 2021 04:49:10 -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=@linaro.org header.s=google header.b=Q4Dzbnee; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233296AbhEZItV (ORCPT + 99 others); Wed, 26 May 2021 04:49:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233218AbhEZItK (ORCPT ); Wed, 26 May 2021 04:49:10 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22321C061760 for ; Wed, 26 May 2021 01:47:39 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id u4-20020a05600c00c4b02901774b80945cso15025960wmm.3 for ; Wed, 26 May 2021 01:47:39 -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=OW7W47mIWK6yublPiEJWvFrVpFjoI7qTlEhI5W3sk3g=; b=Q4Dzbneel0DMkx+zXQm4rfhuirMiZW0kumIdYTlWN3Rc8ONEfmPsGv5nSTgmMJMzm1 dDVTt75sX/MR1ZLRVZN3aTgKAPW2fjnN4y4HZQMD5UJnGpbzaGx3zX/TY54CwkTpN93z ci3EPh0fpBN429rFH3EWjtZm/y/XmxGjjvLf/rm6l1smQ/An5IKRNRN0RO/bZnXExJD2 Yf/0VcrD5X5GZ/W8bFogzhmqOFHRKGj64yiSr/Eoafy5yJ46O/pFb3qzPGyq1W/bjEXy qmrYNwBKc95Gk6tvYCz8Wc6n8OynNac2iK09tru9kJoWyxDnZIIE4BOk/y7Fl7k7Mgti +IGA== 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=OW7W47mIWK6yublPiEJWvFrVpFjoI7qTlEhI5W3sk3g=; b=Ce9UTnu2etHFzKAU7WubEhkNaq2Jzsiv4X3HMloSfhSvtoeCqgmADL1KRVvZ3OX51Q npBZqegH39S2suD/bW9wdqmza8h/dI4z74x9K2YmB6BBdkUNJHPHXaqNjcPfdcb49IRf nGYNAXo3ehVt85PgI+Uqz8wob/GO1Yi8X6vz1QUsk9WiMMJ5nMQzgTIvAuJPOELiwR12 PbiV/rd0KDCwNTXHHOURK3h2ql6lPHgdFJ9c+QXahX82+39TMZyRhnLZy7CKld/riv5h 2U5jvPYJ5f8bvIBLCJLsQRWnbx/bc+eLR6q1Y3rKOpjOP1vD2l8XL+0049QyXRX5l9vM X7bQ== X-Gm-Message-State: AOAM5308/H3NxmhlFt+H25DjXWGCHweL4ef5SGgV1vuQBT4tTdN2GD6C p9902XdpaYiwTvy39l7xzx225IMyqVIbcg== X-Received: by 2002:a7b:c446:: with SMTP id l6mr2223901wmi.75.1622018857723; Wed, 26 May 2021 01:47:37 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:37 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Evan Quan , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 07/34] drm/amd/pm/powerplay/hwmgr/vega20_hwmgr: Provide function name 'vega20_init_smc_table()' Date: Wed, 26 May 2021 09:46:59 +0100 Message-Id: <20210526084726.552052-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega20_hwmgr.c:781: warning: expecting prototype for Initializes the SMC table and uploads it(). Prototype was for vega20_init_smc_table() instead Cc: Evan Quan Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c index d3177a534fdf0..0791309586c58 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c @@ -772,7 +772,7 @@ static int vega20_setup_default_dpm_tables(struct pp_hwmgr *hwmgr) } /** - * Initializes the SMC table and uploads it + * vega20_init_smc_table - Initializes the SMC table and uploads it * * @hwmgr: the address of the powerplay hardware manager. * return: always 0 -- 2.31.1