Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp35326pxb; Tue, 12 Jan 2021 19:13:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzN5gQgfmJTFyvVu8D587Ug7I5XMi2G2rfZ+GI+D7UaIMf0CalW+u6ROi/tGEzB8mMBcM4E X-Received: by 2002:a50:e84d:: with SMTP id k13mr118228edn.154.1610507605642; Tue, 12 Jan 2021 19:13:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610507605; cv=none; d=google.com; s=arc-20160816; b=H7NWg74q3h8fnM3mCcpF87hiZmRsWquTNnZfsrjrJIA3yNzomQfZdlFgaGZO5zX0Y/ KDHUyoLkvm8O5n0Q5VSXrtvrdSXa0FrvJ2PxgMeA3LB+RQQWjdw9ceXbIlKVa+gItRZC J4xvCJJMTd7BS0XOTOpx5geBTodtOasTbDDWNVjveQt1lIXRy/e036QrbhIWMcyOJd7S JQOCYoPnnHn7z3nBcXAxohY3T+0Znwndz/TvkrLoNholMNGMa8ZPT3v6y3BqOjwIX7z1 utiP29GTIHG2YbnuaGA9Pl7sjBvGBHiHzprc3rA9OW4zRQNawBaDASISGk0pTZvWwe3U a3/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=SNbCI8QXsw68f7cArm3g7fzx51ypEltbTSdK1JYnPSE=; b=pCHt9WCbE32uKkf78wwEQyYPJ/fmHlRGQCH7ImmokrrXIYMFe3bqPHEOJJS7yv5WM/ LpU6c8Bo34hGodk+c2K6Hpy5/cJiuHy/BhTl049KcIzL92LJPpA7GZn1j16T/XG2Fg57 2n2qgqFGRWOSoTdAwUHsHCGkRlGteNNTaRhVZI9a42KRAyvsb6vBijDkG0+bvnS5eF0I 0EYp1EVYNlFbR6Px6cg4KgPLZqFL4VHZiAU3YeQ4o/YD5VayUcncEJThBQjhtqnjJIZm AwtrEFUqpW9/fNwIYzX11qUtSldxwQB2XkP6ZtAvXRy3MzxOhw1cVaqxO1nf9CT3vOiu m1SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rvB9yn15; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o26si362009edw.74.2021.01.12.19.13.01; Tue, 12 Jan 2021 19:13:25 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=rvB9yn15; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731044AbhALW0x (ORCPT + 99 others); Tue, 12 Jan 2021 17:26:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729804AbhALW0n (ORCPT ); Tue, 12 Jan 2021 17:26:43 -0500 Received: from mail-oo1-xc36.google.com (mail-oo1-xc36.google.com [IPv6:2607:f8b0:4864:20::c36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78932C061575 for ; Tue, 12 Jan 2021 14:26:03 -0800 (PST) Received: by mail-oo1-xc36.google.com with SMTP id n127so16605ooa.13 for ; Tue, 12 Jan 2021 14:26:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=SNbCI8QXsw68f7cArm3g7fzx51ypEltbTSdK1JYnPSE=; b=rvB9yn151kICpyUsGCIqOBZDBv/QMlydvjzDatPpjwhMAi5h887EeYglO0YrS60Bug TADqyb9R1oD8GPT3BR3IuQZamXvr3s7P2He1HZWLlekMpfDzQR+hiVlb90yGC/SXHX6T X/Bn4AgH8eZqvA/nrm/X5OugRdmCQ/YWmx6c2XA1Rn1uxMyGkGKzmWA41iM+k4ddK+vq y4YPI5i84iT3PUz+u7k8lXJb5NTUWDqXi5tK0Ix3xWYSKO6NhkzzKJTtreASboCL/wbn 7TOYFRfi4u6uBl/pGjvYt12jxCUQsyrHLGm95L+hBFdz8Iv3+8YnWGj0E0ml5bq/CJus jUug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=SNbCI8QXsw68f7cArm3g7fzx51ypEltbTSdK1JYnPSE=; b=B4qOzTuovEnMef0RPlTIiFbQhq354iw7xeUhtmGrMAo9vTPThZKWp3ELXQ2sV438ly GNzorB39MRAkdZr5nf2RCmZHgO+cWZwnUfWmJsZiEN6wl0i7i5ZanmbXE6GWBVPgYDHu qcX/YTrPhRy2pjL/FOqoBiAhvIqWkQuPFLmRtOPBrHpgLtgRztut7QocB4oKvsqFe56h d3me18GqO3Cwz5myVkibG7mUqjKpeBXHrc8wUYBejNn7HrKPSCbXRcch3x6fvFCRjmHR mlkV3liEodmq3a4q+DVvOxvgCVcsdh7xUoguHoE2AnFGmqLGYk5+hQmm7QVk4Czb4vj4 P6cQ== X-Gm-Message-State: AOAM531KUTQaBHxSLPWnhG3J4mWqhErDEGnn5VA6B854O5fhgzqb4l74 ky7SE2X3eTWuKwostJOwoY63CrPYrjGcpiAWYKE= X-Received: by 2002:a4a:a2c5:: with SMTP id r5mr786480ool.72.1610490362947; Tue, 12 Jan 2021 14:26:02 -0800 (PST) MIME-Version: 1.0 References: <20210111191926.3688443-1-lee.jones@linaro.org> <20210111191926.3688443-25-lee.jones@linaro.org> In-Reply-To: <20210111191926.3688443-25-lee.jones@linaro.org> From: Alex Deucher Date: Tue, 12 Jan 2021 17:25:51 -0500 Message-ID: Subject: Re: [PATCH 24/40] drm/amd/pm/swsmu/smu11/vangogh_ppt: Make local function 'vangogh_clk_dpm_is_enabled' static To: Lee Jones Cc: Xiaojian Du , David Airlie , LKML , amd-gfx list , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 11, 2021 at 2:20 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:613:6: warnin= g: no previous prototype for =E2=80=98vangogh_clk_dpm_is_enabled=E2=80=99 [= -Wmissing-prototypes] > > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: Xiaojian Du > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied the same patch from someone else earlier today. Thanks! Alex > --- > drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/g= pu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c > index 75ddcadf3802a..37bd4c647418d 100644 > --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c > +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c > @@ -610,8 +610,8 @@ static int vangogh_get_profiling_clk_mask(struct smu_= context *smu, > return 0; > } > > -bool vangogh_clk_dpm_is_enabled(struct smu_context *smu, > - enum smu_clk_type clk_type) > +static bool vangogh_clk_dpm_is_enabled(struct smu_context *smu, > + enum smu_clk_type clk_type) > { > enum smu_feature_mask feature_id =3D 0; > > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel